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

Provide a tool to download fonts from Google Fonts and add relevant go embed and font loading statements #515

Open
kkoreilly opened this issue Jul 3, 2023 · 4 comments
Assignees
Labels
enhancement A new feature request
Milestone

Comments

@kkoreilly
Copy link
Member

This would allow developers to use more non-standard fonts in their apps without having to worry about the user having them on their system.

@kkoreilly kkoreilly added the enhancement A new feature request label Jul 3, 2023
@kkoreilly kkoreilly self-assigned this Jul 3, 2023
@kkoreilly kkoreilly changed the title Consider allowing fonts to be automatically downloaded from Google Fonts Provide a tool to download fonts from Google Fonts and add relevant go embed and font loading statements Jul 27, 2023
@kkoreilly
Copy link
Member Author

It makes the most sense to do this by embedding fonts into executables, so a simple goki fetch font FontName command in goki/packman that downloads fonts, puts them in the right place, and adds the code to embed and load them would be the easiest way to implement this.

@kkoreilly
Copy link
Member Author

The Noto fonts will be available for apps to use by #568, but developers may want more fonts, so we should still probably do this.

@kkoreilly kkoreilly added this to the v2 milestone Dec 25, 2023
@kkoreilly
Copy link
Member Author

We should also support a similar thing for icons and support generating constants for icons.

@kkoreilly
Copy link
Member Author

See #849.

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

No branches or pull requests

1 participant