ttf-parser icon indicating copy to clipboard operation
ttf-parser copied to clipboard

A high-level, safe, zero-allocation TrueType font parser.

Results 35 ttf-parser issues
Sort by recently updated
recently updated
newest added

Hi! I'm using the `OwnedFace` type and I have several needs that sound like something more people could use: 1. I'd like to access the information on where the `glyf::Table`...

Currently we have a sort of generic one, but its API is meh.

## Changes - new feature `opentype-math` - new field `math` in `FaceTables` - new module `tables::math`: - `math::Table` for OpenType `MATH` tables; - `MathConstants`, `MathGlyphInfo`, and `MathVariants` subtables; - and...

https://www.freetype.org/freetype2/docs/reference/ft2-truetype_tables.html#tt_platform_xxx

Please consider adding [language ID](https://docs.rs/ttf-parser/latest/ttf_parser/name/struct.Name.html#structfield.language_id) constants for each of the supported platforms.

- COLRv0: https://docs.microsoft.com/en-us/typography/opentype/spec/colr - COLRv1: https://docs.microsoft.com/en-us/typography/opentype/otspec190alpha/colr COLR format fonts are part of the OpenType specification. It is the perfect companion for emoji and font icons in usage scenarios. This has...

I am getting `/usr/bin/ld: subprojects/ttf-parser/libttf_parser_capi.a(std-205127404fcba336.std.595pxchd-cgu.0.rcgu.o): undefined reference to symbol 'pthread_getattr_np@@GLIBC_2.2.5'` and `/usr/bin/ld: subprojects/ttf-parser/libttf_parser_capi.a(std-205127404fcba336.std.595pxchd-cgu.0.rcgu.o): in function 'std::sys::unix::weak::fetch': /rustc/49cae55760da0a43428eba73abcb659bb70cf2e4//src/libstd/sys/unix/weak.rs:61: undefined reference to 'dlsym'` if I don't pass `thread_dep, cpp.find_library('dl')` (which currently I...

This should speed up `glyf`+`gvar` bbox calculation.

variable