Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drop threshold on test_strings #111

Merged
merged 1 commit into from
Nov 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading