Skip to content

Commit

Permalink
drop threshold on test_strings
Browse files Browse the repository at this point in the history
  • Loading branch information
m4rc1e committed Nov 15, 2023
1 parent 4840de6 commit 0922ea8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/diffenator2/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def proof_rendering(styles, templates, dst="out", filter_styles=None, characters
font_faces = set(style.font.css_font_face for style in styles)
font_styles = [style.css_font_style for style in styles]
sample_text = filtered_font_sample_text(ttFont, characters)
test_strings = GFTestData.test_strings_in_font(ttFont)
test_strings = GFTestData.test_strings_in_font(ttFont, 0.1)
characters = characters or [chr(c) for c in ttFont.getBestCmap()]
characters = list(sorted(characters))
user_words = None if not user_wordlist else parse_wordlist(user_wordlist)
Expand Down Expand Up @@ -123,7 +123,7 @@ def diff_rendering(matcher, templates, dst="out", filter_styles=None, characters
font_styles_new = [style.css_font_style for style in matcher.new_styles]

sample_text=filtered_font_sample_text(ttFont, characters)
test_strings = GFTestData.test_strings_in_font(ttFont)
test_strings = GFTestData.test_strings_in_font(ttFont, 0.1)
characters = characters or [chr(c) for c in ttFont.getBestCmap()]
characters = list(sorted(characters))
user_words = None if not user_wordlist else parse_wordlist(user_wordlist)
Expand Down

0 comments on commit 0922ea8

Please sign in to comment.