Skip to content

[Feature Request] Document using the ab_glyph feature #423

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

Closed
Monadic-Cat opened this issue Oct 9, 2022 · 1 comment
Closed

[Feature Request] Document using the ab_glyph feature #423

Monadic-Cat opened this issue Oct 9, 2022 · 1 comment

Comments

@Monadic-Cat
Copy link
Contributor

What is the feature ?

Recently, #311 was merged, and added a new text rendering backend feature.
It would be nice if there were documented instructions on how to use it, especially when the docs.rs page for plotters does not show the extra function exported for the purpose (because cfg work like that, lol).

Why this feature is useful and how people would use the feature ?

While it is now possible to use ab_glyph for text rendering in plotters, I can't find anywhere that is explained outside of browsing the project source code. It would be really nice if the feature were called out, especially for cross-compiling use cases where it's much easier to use ab_glyph, as opposed to manually putting together a cross sysroot to make font-config cross compile correctly.

Additional Information

I'd be happy to write this documentation if someone could tell me what places would be most appropriate for it.

@AaronErhardt
Copy link
Member

I'd be happy to write this documentation if someone could tell me what places would be most appropriate for it.

I think this should be the right place to add it: https://github.com/plotters-rs/plotters/blob/master/doc-template/readme.template.md#list-of-features

I'm not entirely sure if there are other places where features are advertised, but if you find something you can add it there too.

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

2 participants