-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Building from source on Linux #417
Comments
Thanks for taking the time to write an issue, @alexmyczko! Quick question: are you completely unable to run the build due to the mac-only dependency, or are you only unable to use the |
well where to start. i try to build without venv, but then there is so much requirements not packaged to build. i am now trying to get it to build with ufo2otg/ufo2glyphs and/or fontmake but keep failing there too (i dont want to build the vf part) |
Hmm, yes, it is a bit of a complex project to build. Mostly, to be honest, it is setup for myself to build as I work on finishing things up. Is there a certain reason you want to build this on your own? Is there a certain reason you want to avoid using venv?
Sorry! Have I missed anything in the readme, or is there anything specific you might suggest adjusting to make it easier for someone on Linux to build? |
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944202 someone asks for it for debian, and we build everything from source (if possible). ubuntu, raspbian get a free copy. |
Nice, thanks for that detail! Might the fonts in the official releases work for this purpose? |
Theoretically yes, but preferred are built from source (and that is what I would also like to do) if somehow possible - sorry I didn't answer the other questions yet (but will try to get to that asap) What software with do you design the font? Do you have .glyphs by any chance? |
All good, no rush. Yeah, I’d be happy for this to work for you, and grateful if you have any suggestions on how I can improve the Build docs for Linux users. I’m most curious if the venv & requirements will work ... to my knowledge, pync is the only thing that requires macOS, but it is totally optional (just a convenience thing for me, so I can multitask during the somewhat long build process). As far as I know, all other build dependencies are cross-platform. If you wish to generate woff2 files, you will probably need to install woff2_compress separately.
I used RoboFont for this, as I prefer the UFO format for source control and some of the extensions in the RoboFont ecosystem. The main build preps clean sources (getting rid of glyphs that are experiments/sketches), then uses AFDKO to build static fonts and FontMake to build the variable font. |
i've got a hard time to decide what's worse/better, robofonts or fontship/npm: be5invis/Iosevka#715 |
@alexmyczko I'm not sure what your beef is with Fontship, but don't lump it into the same bucket as |
didn't mean to be rude or knock around randomly, but your reply clarified a few things, so thank you for that. |
Yup, my use of RoboFont makes this somewhat more open-source friendly than a project that uses GlyphsApp (even if in your particular case, this is slightly inconvenient – sorry that is the case right now!). Either way, though, there are tools that can handle the sources and build them. I’m closing this issue, but if you have any outstanding specific questions or build blockers, feel free to add further comments, or open new issues with the specific problem. Thanks! |
Also, I’m guessing you already saw this, but the readme includes fairly specific instructions for building. Basically:
Let me know if you have any blocking errors due to Pync, and I can either remove it or try to make sure it isn’t activated outside of Mac environments. |
no idea what's missing now...
|
@alexmyczko |
well today one can install https://github.com/alexmyczko/fnt and just say: |
Problem description
One of the imported modules is macOS only?
Expected behavior
Maybe a print on non macOS could be run instead?
To Reproduce
Build it on Linux
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: