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

GlyphsApp support #684

Open
rsheeter opened this issue Jan 26, 2024 · 2 comments
Open

GlyphsApp support #684

rsheeter opened this issue Jan 26, 2024 · 2 comments

Comments

@rsheeter
Copy link
Contributor

rsheeter commented Jan 26, 2024

fontmake has a plugin @ https://github.com/schriftgestalt/FontMakeExportPlugin. Let's add fontc, for the time being marked as experimental.

fontMakeExport.glyphsFileFormat/Contents/Resources/plugin.py seems to just run the compiler on a temp file. We might eventually want to operate in memory but this seems like a very reasonable pattern to start with. fontc might actually be simpler than python as there isn't a venv to worry about.

@rsheeter
Copy link
Contributor Author

I wonder if it makes sense to cdn compiler binaries such that the plugin can download them with a priori (baked in) knowledge of the expected size & checksum. That would require a bit of dilligence wrt releasing fontc but it might be worthwhile.

@rsheeter
Copy link
Contributor Author

rsheeter commented Jan 26, 2024

https://rust-lang.github.io/rustup/cross-compilation.html suggests we can compile e.g. a Mac binary on Linux which is very helpful. While GlyphsApp is Mac-only we should still publish at least Linux binaries to things like Google Sans CI can use them.

EDIT: rust-lang/rust#112501 seemingly contradicts ^. If we have to build on Mac that's not the end of the world

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant