core icon indicating copy to clipboard operation
core copied to clipboard

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

Open kkoreilly opened this issue 1 year ago • 4 comments

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 avatar Jul 03 '23 05:07 kkoreilly

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 avatar Jul 27 '23 05:07 kkoreilly

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 avatar Dec 25 '23 18:12 kkoreilly

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

kkoreilly avatar Jan 22 '24 23:01 kkoreilly

See #849.

kkoreilly avatar Jan 22 '24 23:01 kkoreilly