ab-glyph icon indicating copy to clipboard operation
ab-glyph copied to clipboard

Rust API for loading, scaling, positioning and rasterizing OpenType font glyphs

Results 21 ab-glyph issues
Sort by recently updated
recently updated
newest added

Right now the rasterizer uses a nonzero filling method, which is convenient for many cases. It would be nice if it also provided an odd filling method, as well as...

The current `PxScale` method was inherited from rusttype and defines the pixel height of glyphs in pixels. There are different ways that users would expect this work. My current thoughts:...

breaking-change

Hello, First of all, thanks for `ab_glyph` and `glyph_brush`; `ab_glyph` is what's used to render glyphs in my [`acrylic`](https://lib.rs/acrylic) crate. I was wondering how I could configure a font's variations?...

When i try to use .otb fonts (terminus-font-4.49.1 or gohufont-2.1-otb) with the examples i get no errors and no output except that both ./ascii and ./image report width and height....

https://download.copr.fedorainfracloud.org/results/remilauzier/zemeroth/fedora-rawhide-x86_64/02311687-rust-ab_glyph/builder-live.log.gz Fedora as update there version of ttf-parser but the test failed due to missing files. ---- src/font.rs - font::Font::as_scaled (line 175) stdout ---- error: couldn't read src/../../dev/fonts/Exo2-Light.otf: No such...

i.e. kerning, ligatures, metrics, variable fonts, and so on. Currently everything is kind of up in the air. Going to have to do some local testing to figure this out.

I think there should be a proc macro or a const fn or something we can use to embed a `Font` directly in the binary such that error handling doesn't...

Considering #50 a fairly nice workaround would be to manually tweak the font v-metrics (In that case to add some extra ascent). Perhaps a `Tweak` kinda thing that allows you...

I encounter this error: ``` thread 'main' panicked at 'index out of bounds: the len is 4 but the index is 5', /home/yatekii/.cargo/registry/src/github.com-1ecc6299db9ec823/ab_glyph_rasterizer-0.1.5/src/raster.rs:128:17 note: run with `RUST_BACKTRACE=1` environment variable to...