-
Notifications
You must be signed in to change notification settings - Fork 73
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
refactoring to use external gflanguages
module
#511
Conversation
0507b34
to
b752a22
Compare
Thanks for this. If we're all happy, we should transfer gflanguages to googlefonts |
It would also be nice to do this for the axis registry as well. |
Yes! Be sure to take a look at #510 where I provide a longer explanation of the rationale behind this pull request. The transfer of gflanguages to googlefonts is also mentioned there. |
I agree. And it is worth mentioning here (for the public record) that the same approach was already taken for the glyphset files a while ago: https://github.com/googlefonts/glyphsets/ |
I get the following traceback when trying to use gftools add-font:
|
- Simplify API by removing the `lang_support` module. Now one does `from gflanguages import LoadLanguages` instead of `from gflanguages.lang_support import LoadLanguages` (issue googlefonts#6) - Also, all `Load_*` methods now accept base_dir as optional argument. (motivated by: googlefonts/gftools#511 (comment)) - This will be the v0.3.0 API.
- Simplify API by removing the `lang_support` module. Now one does `from gflanguages import LoadLanguages` instead of `from gflanguages.lang_support import LoadLanguages` (issue googlefonts#6) - Also, all `Load_*` methods now accept base_dir as optional argument. (motivated by: googlefonts/gftools#511 (comment)) - This will be the v0.3.0 API.
- Simplify API by removing the `lang_support` module. Now one does `from gflanguages import LoadLanguages` instead of `from gflanguages.lang_support import LoadLanguages` (issue googlefonts#6) - Also, all `Load_*` methods now accept base_dir as optional argument. (motivated by: googlefonts/gftools#511 (comment)) - This will be the v0.3.0 API.
- Simplify API by removing the `lang_support` module. Now one does `from gflanguages import LoadLanguages` instead of `from gflanguages.lang_support import LoadLanguages` (issue #6) - Also, all `Load_*` methods now accept base_dir as optional argument. (motivated by: googlefonts/gftools#511 (comment)) - This will be the v0.3.0 API.
b752a22
to
b9d8ef1
Compare
@m4rc1e this is ready now for another code-review. |
I'm still getting the same traceback as above when running |
To make it easier to use the API and to avoid problems like this: googlefonts/gftools#511 (comment)
To make it easier to use the API and to avoid problems like this: googlefonts/gftools#511 (comment)
b9d8ef1
to
95fde71
Compare
I've made the API more robust: Please |
gflanguages
module
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you!
https://github.com/felipesanches/gflanguages
(issue #510)