-
Notifications
You must be signed in to change notification settings - Fork 6
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
Publish BDF fonts as crates #15
Comments
Cargo features? Submodule exports like in e-g? Submodule exports might be better as they're a bit easier to pick and choose over cargo features. They're also symmetrical with e-g's API at time of writing, but that shouldn't be a hard requirement.
There are probably compromises to be made however we do this. I haven't looked too closely at the BDF collections out there, but maybe collections like Some idle thinking: Would it be a good idea to provide some tooling that goes in Also, would these crates be no_std? |
Keeping the API similar would be a good idea, but I would also like to keep the flexibility the
The highest quality collection of BDF I could find are the xorg sources: https://gitlab.freedesktop.org/xorg/font The other collections, that we use in the tests, include some broken fonts but still provide a good overview of what is available. I agree that different font sizes and weights should always be bundled in one crate, but I'm not sure about different fonts yet. The https://gitlab.freedesktop.org/xorg/font/adobe-75dpi repo, for example, includes multiple fonts. If we bundle all of them in a single crate the fonts might not be as discoverable as in separate
That sounds like a good idea. I'm not planning to implement this soon, because I don't want to delay e-g 0.7 any further. But when I generate font crates, I'll try to make the tooling reusable.
Yes, the generated crates will be |
It would be useful to distribute some BDF fonts as Rust crates to make them easily usable without having to manually add BDF files to a project. Having dedicated font crates, instead of adding some fonts to
eg-bdf
, has the advantage that the crates can be licensed using the same license as the BDF font.Open questions:
The text was updated successfully, but these errors were encountered: