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

New script: which characters in a TTF are not in any GF .nam subset? #1466

Closed
davelab6 opened this issue Jul 26, 2017 · 7 comments
Closed

New script: which characters in a TTF are not in any GF .nam subset? #1466

davelab6 opened this issue Jul 26, 2017 · 7 comments
Assignees

Comments

@davelab6
Copy link
Contributor

Please provide a script to tell us which characters in a TTF are not in any GF .nam subset.

@davelab6 davelab6 added this to the 0.3.1 - Further improvements on reliability of checks and fixers milestone Jul 26, 2017
@graphicore
Copy link
Collaborator

For this kind of task it would be really great to have the fonts/tools directory as a stand alone module. Because what you are asking for creates a dependency to the fonts repository and every other workaround is a bit of a hack.

Should I file this as an request issue in https://github.com/google/fonts? I'm sure there are some other stakeholders with an opinion and I think it should be tackled.

@graphicore
Copy link
Collaborator

When I say module, I also really think it should be a stand alone github repository. Everything that needs to read these nam files basically needs code from there. We already have some copy and paste job somewhere in pyfontaine and there's also graphicore/googleFontsTools which is a mess to keep in sync, but used for specimentTools and much less in size than the google/fonts repository.

These things happen because we don't want to download thousands of fonts, just to read some nam files.

The new repository could be a git submodule of google/fonts.

@felipesanches
Copy link
Collaborator

I fully support Lasse's proposal.

@davelab6
Copy link
Contributor Author

is a mess to keep in sync

However, google/fonts.git/tools is rarely updated, so I'm happy to use https://github.com/graphicore/googleFontsTools for now

@davelab6
Copy link
Contributor Author

This is now urgent - @felipesanches could you do it this week? :)

Now the https://github.com/googlefonts/tools/ repo exists :)

@davelab6 davelab6 assigned felipesanches and unassigned graphicore Oct 30, 2017
@felipesanches
Copy link
Collaborator

@davelab6 said:

To solve google/fonts#1285 I need a small script that will compare all the characters in all the fonts in the GF repo against the bunch of GF subsets, and against the bunch of glyph sets, and tell us what characters and not in each bunch :)

felipesanches added a commit to felipesanches/tools that referenced this issue Oct 31, 2017
to tell us which characters in a TTF are not in any GF .nam subset.
(issue googlefonts#6 and fonttools/fontbakery#1466)
@felipesanches
Copy link
Collaborator

I'll close this here, since it is now tracked at the googlefonts/tools issue tracker.

felipesanches added a commit to googlefonts/gftools that referenced this issue Oct 31, 2017
to tell us which characters in a TTF are not in any GF .nam subset.
(issue #6 and fonttools/fontbakery#1466)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants