Skip to content

Fix `cmap` Subtable Format 4 `entrySelector`

philg314 requested to merge philg314/fonttosfnt:cmap-entry-selector into master

https://docs.microsoft.com/en-us/typography/opentype/spec/cmap defines entrySelector as "Log2 of the maximum power of 2 less than or equal to numTables (log2(searchRange/2), which is equal to floor(log2(segCount)))"

Merge request reports