-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Arg to define glyphset without checking an existing font #86
Comments
For the time being I'd prefer to keep the CLI for working on font files so as to not muddy its purpose. For charset building you could use the library in a script, for example:
You may look at the constructor options for For use of the library we should add more documentation in form of concrete "How do I..." examples like this 👍 |
Similar: given a language (/ code), print out characters in language. Assumes terminal is using font with appropriate glyphs. Else can just browse the hyperglot.yaml file :-) Thanks, Ian |
One of the last updates introduced a feature like this. It's split from the main |
I was looking for documentation on how to use Hyperglot to extract characters for a given language (basically, what’s visible on https://hyperglot.rosettatype.com). This was helpful – however, the API seems to have changed: from hyperglot.languages import Languages
from hyperglot.language import Language
for iso, info in Languages().items():
lang = Language(info, iso)
it seems that the from hyperglot.languages import Languages
from hyperglot.language import Language
for iso, info in Languages().items():
lang = Language(iso) |
Yes, this is correct. We wanted to make it more easy (and efficient) to interact with the data, so you can simply |
It would be nice to create/define glyph sets from number of speakers or orthography status.
For example; listing glyphs necessary to support languages > 20000 speakers
The text was updated successfully, but these errors were encountered: