Skip to content

Commit

Permalink
Merge pull request #607 from googlefonts/sample-text-get-more
Browse files Browse the repository at this point in the history
Try harder to get more sample text
  • Loading branch information
m4rc1e authored Sep 2, 2022
2 parents ca59a71 + 5f91e24 commit 01eadf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/gftools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ def _add_words(words, text, seen_chars):

_add_words(words, uhdr, seen_chars)

if not words:
if len(seen_chars) < len(cmap):
languages = LoadLanguages()
for file, proto in languages.items():
if hasattr(proto, "sample_text"):
Expand Down

0 comments on commit 01eadf4

Please sign in to comment.