fontations icon indicating copy to clipboard operation
fontations copied to clipboard

Reading and writing font files

Results 241 fontations issues
Sort by recently updated
recently updated
newest added

in accordance with the [spec proposal](https://github.com/harfbuzz/boring-expansion-spec/blob/main/beyond-64k.md). I recommend we do this in a few phases to limit breakage: 1. Rename `font_types::GlyphId` to `GlyphId16` and update codegen and resource files accordingly....

enhancement

to prep for incoming script identification code. Just includes characters from each mappable range from the FT autofit code.

@danakj filed a Chromium issue about an unexpected binary size increase due to usage of generics in the hinting engine, see details in https://issues.chromium.org/336738730 - @dfrg could you comment?

It'd be great to have a minimal example for how to write out a font from a set of glyphs. I'm specifically interested in unicode CJK characters.

As per https://github.com/googlefonts/fontations/pull/880#pullrequestreview-2029561181, "we should make sure we actually offer HB compatibility beyond 2 decimal places if we're going to promise it." There are a couple of adjustments needed to...

enhancement

As suggested in https://github.com/googlefonts/fontations/pull/881#issuecomment-2071651003, drop thiserror and make sure clap isn't a dep for library usage.

good first issue

``` Extracting glyphs from "fontations/font-test-data/test_data/ttf/cbdt.ttf" to "fontations/font-test-data/test_data/extracted/cbdt-glyphs.txt"... Traceback (most recent call last): File "fontations/font-test-data/test_data/extract_glyphs.py", line 143, in glyphs.add_glyph(face, size, glyph_id) File "fontations/font-test-data/test_data/extract_glyphs.py", line 68, in add_glyph face.set_pixel_sizes(size, size) File "fontations/.venv/lib/python3.11/site-packages/freetype/__init__.py",...

bug

A variable OpenType font's PostScript name is [supposed to vary](https://adobe-type-tools.github.io/font-tech-notes/pdfs/5902.AdobePSNameGeneration.pdf). This is documented in FreeType by [FT_Get_Postscript_Name](https://gitlab.freedesktop.org/freetype/freetype/-/blob/f42ce25563b73fed0123d18a2556b9ba01d2c76b/include/freetype/freetype.h?page=5#L4555) and implemented in [sfnt_get_var_ps_name](https://gitlab.freedesktop.org/freetype/freetype/-/blob/f42ce25563b73fed0123d18a2556b9ba01d2c76b/src/sfnt/sfdriver.c#L804). It would be quite useful to provide a means...

enhancement

OpenType fonts have at least three family names (1, 16, 21) and three style names (2, 17, 22). The general way to pick these is to prefer the higher numbered...

enhancement
good first issue

The `Location` and `LocationRef` types were intended to serve a similar purpose to other owned/borrowed type pairs in Rust (`String`/`&str`, `Vec`/`&[T]`, etc) but actual usage doesn't actually follow the same...