8000 Instancer: update name table (take 2) by anthrotype · Pull Request #2189 · fonttools/fonttools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Instancer: update name table (take 2) #2189

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

Merged
merged 28 commits into from
Feb 26, 2021
Merged

Instancer: update name table (take 2) #2189

merged 28 commits into from
Feb 26, 2021

Conversation

anthrotype
Copy link
Member

I moved @m4rc1e branch to upstream repo (named instancer-name) and moved some files around.

This supersedes #2078

Base automatically changed from master to main February 17, 2021 11:56
@anthrotype
Copy link
Member Author
anthrotype commented Feb 25, 2021

@m4rc1e do you think this is ready to merge?

@m4rc1e
Copy link
Contributor
m4rc1e commented Feb 26, 2021

Just finished testing on Roboto, Cabin and Open Sans. It's behaving as expected but the following could be improved:

  • Drop name records which have a nameID 25 if we're instantiating a static font
  • What about updating the filenames?

I'll implement dropping nameID 25 now. For updating the filename, we can tackle this when we set the bits correctly, or if the heuristic is too complex, leave it be.

@m4rc1e m4rc1e force-pushed the instancer-name branch 2 times, most recently from c78a035 to 4f84830 Compare February 26, 2021 10:19
anthrotype and others added 7 commits February 26, 2021 10:31
… submodule

move instancer tests to Tests/varLib/instancer directory

create instancer/__main__.py to make package executable
return True only if a corresponding english record is found and matches R/I/B/BI, else return False.
We don't really care if there are any other unrelated english records, we care about this specific one, whether it's RIBBI or not

minor
assert we have some 'string' instead of silently continuing
@anthrotype
Copy link
Member Author

LGTM (it seems Github doesn't let PR authors approve their own PRs 😅..)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0