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

Use gflanguages module to check sample rendering #3617

Merged
merged 1 commit into from
Feb 18, 2022

Conversation

felipesanches
Copy link
Collaborator

com.google.fonts/check/metadata/can_render_samples

Check that the fonts can render the sample texts for all languages specified on METADATA.pb, by using the new gflanguages module.
(issue #3605)

@felipesanches
Copy link
Collaborator Author

It seems that there's a licensing issue here, as gflanguages v0.1.1 uses hyperglot, which seems to be under the GPL. (I need to double-check that claim) I'm happy about using the GPL on my own personal projects, but unfortunately FontBakery has a policy against using that license.

Before merging this PR, I'll try to address this problem (maybe releasing a gflanguages v0.2.0 without the helper method that uses hyperglot). What do you think, @davelab6 ?

@felipesanches felipesanches marked this pull request as draft February 18, 2022 17:40
@felipesanches
Copy link
Collaborator Author

yes, I've just confirmed that the hyperglot python module is licensed "GNU General Public License v3 (GNU GPLv3)"

I'll remove the method and dependency and release gflanguages v0.2.0

I can keep the method as a separate sample snippet with a comment regarding its licensing implications.

felipesanches added a commit to googlefonts/lang that referenced this pull request Feb 18, 2022
 - Removed SupportedLanguages method as it relies on hyperglot, which is under the GPLv3, to keep gftranslate under Apache 2.0
 - The method is still available as a separate code-snippet (not part of gflanguages itself), and any program using that snippet will need to comply with the GPLv3.
 - For more details, see: fonttools/fontbakery#3617 (comment)
felipesanches added a commit to googlefonts/lang that referenced this pull request Feb 18, 2022
 - Removed SupportedLanguages method as it relies on hyperglot, which is under the GPLv3, to keep gftranslate under Apache 2.0
 - The method is still available as a separate code-snippet (not part of gflanguages itself), and any program using that snippet will need to comply with the GPLv3.
 - For more details, see: fonttools/fontbakery#3617 (comment)
felipesanches added a commit to googlefonts/lang that referenced this pull request Feb 18, 2022
 - Removed SupportedLanguages method as it relies on hyperglot, which is under the GPLv3, to keep gftranslate under Apache 2.0
 - The method is still available as a separate code-snippet (not part of gflanguages itself), and any program using that snippet will need to comply with the GPLv3.
 - For more details, see: fonttools/fontbakery#3617 (comment)
felipesanches added a commit to googlefonts/lang that referenced this pull request Feb 18, 2022
 - Removed SupportedLanguages method as it relies on hyperglot, which is under the GPLv3, to keep gftranslate under Apache 2.0
 - The method is still available as a separate code-snippet (not part of gflanguages itself), and any program using that snippet will need to comply with the GPLv3.
 - For more details, see: fonttools/fontbakery#3617 (comment)
felipesanches added a commit to googlefonts/lang that referenced this pull request Feb 18, 2022
 - Removed SupportedLanguages method as it relies on hyperglot, which is under the GPLv3, to keep gftranslate under Apache 2.0
 - The method is still available as a separate code-snippet (not part of gflanguages itself), and any program using that snippet will need to comply with the GPLv3.
 - For more details, see: fonttools/fontbakery#3617 (comment)
com.google.fonts/check/metadata/can_render_samples

Check that the fonts can render the sample texts for all languages specified on METADATA.pb, by using the new `gflanguages` module.
(issue fonttools#3605)
@felipesanches felipesanches marked this pull request as ready for review February 18, 2022 19:35
@felipesanches felipesanches merged commit 6bc8f0c into fonttools:main Feb 18, 2022
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.

1 participant