boring-expansion-spec icon indicating copy to clipboard operation
boring-expansion-spec copied to clipboard

[`VORG`] >64k expansion

Open behdad opened this issue 4 years ago • 1 comments

The length of the VORG table is determined from its major/minor version and the subsequent content. The only currently defined version 1.0 can only encode 16bit glyph indices. Here is how we expand the table's definition to encode glyph vertical origin for glyph indices beyond maxp.numGlyphs:

Basically, derive the length of the table from the version number and the table struct, then derive the excess bytes, then follow the same algorithm for deriving advance-width in the hmtx/vmtx expansion: https://github.com/be-fonts/boring-expansion-spec/issues/7 [We should move that to a named data-structure. Trimmed array?]

behdad avatar Sep 14 '21 17:09 behdad

Speced: https://github.com/harfbuzz/boring-expansion-spec/blob/main/beyond-64k.md

NOT implemented in HarfBuzz.

behdad avatar Mar 06 '23 20:03 behdad