fontdue
fontdue copied to clipboard
The fastest font renderer in the world, written in pure rust.
Adds two functions to `Font` that are the same as `rasterize_indexed[_subpixel]`, but take an additional `offset: f32` parameter for more controlled hinting.
After adding some benchmarks to my own application, I noticed a small performance regression when updating fontdue from 0.4 to 0.8. This has to do with text layout (I haven't...
The changes in this PR are: 1. Added `with_settings` function for `Layout` that receives a `LayoutConfig` instance allowing to configure the layout without having to call `reset()`. 2. Added `LayoutSettingsBuilder`...
This is a simple API addition. It adds `Font::name` method to get face name of it. I also added little docstrings.
Would it make sense to also add SDF font generation to fontdue? This would allow easier zooming/rotation of text when paired with the right shader, and maybe also reduce the...
I don't see anything in the API, but perhaps I'm missing it? I don't need RGB subpixel AA (and indeed I don't think it would work well with my glyph...
I'm trying to shift the origin of the laid out text for which I need the total width and height. ```rust let (xw, yw) = (0.5, 0.5); let offset_x =...
Hi, I'm making a wordcloud program and I'd like to be able to convert a whole string such as "Hello world" to a bitmap directly, like we can already do...
This would be useful for apps that only want to show a preview of the full text or only expect to have to display a single line, like idk. a...