fontations
fontations copied to clipboard
Reading and writing font files
We should support whatever set of encodings is supported by the python pipeline, including things like Shift-JIS.
I wrote this test program to recompile all tables of a font: https://gist.github.com/madig/221321d2343bfc3f4531511067d6be04. It does not try all the tables because they don't seem to have `to_owned_table()` and I haven't...
Bonus points for write-fonts. https://github.com/google/oss-fuzz/tree/master/projects/woff2 might be a good starting point.
specifically the base array should have an entry for every listed mark class. We will currently happily compile without checking this, producing an invalid table.
We should be validating that any set of regions added to the builder have the correct axis count. I also believe that if we know the number of axes ahead...
See https://github.com/harfbuzz/harfbuzz/pull/4616 The previous impl would produce incorrect results in certain instances, although it would take a very pathological input for this to actually result in a packing failure. Our...
For example, I'm importing into google3 and getting things like ```shell ---- color::traversal_tests::clipbox_default stdout ---- thread 'color::traversal_tests::clipbox_default' panicked at third_party/rust/skrifa/v0_15/src/color/traversal_tests/mod.rs:306:46: Unable to open expectations file.: Os { code: 2, kind:...
https://github.com/googlefonts/fontations/pull/817 broke the ability to add a test, run with an environment variable set to generate the master data, and then have your test work. Instead it will initially fail...
Filing this issue to track FontConfig's font parsing and other dependencies on FT in order to estimate complexity of removal of FreeType in Chromium. @behdad helpfully provided pointers to FontConfig's...
In Skia, metrics retrieval is a first stage of glyph cache entry initialisation. There are two methods called on a Skia typeface backend: `generateMetrics()` and depending on glyph format then...