fontdue
fontdue copied to clipboard
The fastest font renderer in the world, written in pure rust.
In Unicode, the same code point can have different glyphs depends on variant selector. I suggest adding a unicode variant option to `Font::lookup_glyph_index()`.
There are unstable APIs for SIMD on platforms like Web, ARM, and POWER. Ideally add a way to utilize this APIs if the user is on nightly.
What is the status/are your plans for: * Anti-aliasing (greyscale and/or subpixel)? * Fonts that embed PNG images, such as Noto Color Emoji * Fonts that embed SVG, such as...
Make functions const, which use floating point arithmetic ### Example Proposal https://github.com/mooman219/fontdue/blob/master/src/font.rs#L45-L53 #### Before ```rs #[inline(always)] pub fn scale(&self, scale: f32) -> OutlineBounds { OutlineBounds { xmin: self.xmin * scale,...
Hello, Thank you for your work on this crate, it's really appreciated! I have been using for a hobby project for the past few weeks and it suits my needs...
It seems like that Fontdue's rasterized characters are just a little smaller than that of Firefox or Chrome. Also, using the [Roboto font](https://fonts.google.com/specimen/Roboto), the lowercase 'i' is very noticeably different....
Adds a basic fuzz harness based on the afl fuzzer. This fuzzes: font load, font rasterization at fixed scale (60.0) Fuzzed inputs include: character being rasterized, font bytes
I'm thinking of using this for my Retro Rust game engine, but if possible I would like to support the BDF font format which seems to be often used for...
[First-line indentation](https://en.wikipedia.org/wiki/Indentation_(typesetting)#Indentation_in_typesetting) is very common in typesetting, and looks like this: ``` The first line starts further to the right than the subsequent lines of text. ``` It would be...
Hi first of all thanks for this awesome create! Is there a way to render fonts with variable weight? I'm currently keeping 4 or more fonts with static weights (regular,...