Skip to content

Commit

Permalink
Merge pull request #111 from googlefonts/test-string-thresh
Browse files Browse the repository at this point in the history
drop threshold on test_strings
  • Loading branch information
m4rc1e authored Nov 16, 2023
2 parents 852c346 + 0922ea8 commit bc159f6
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 bc159f6

Please sign in to comment.