Chromium Code Reviews
DescriptionAdd a Windows layout test for validating symbol CMAP encoding support
In version 1.3.0 HarfBuzz adds support [1] for symbol encoding
CMAP tables (platform ID = 3, encoding ID = 0, glyphs offset by
0xF000), for which support in Blink regressed when we moved to
the OpenType functions from HarfBuzz. This layout test adds a
custom SymbolCMAPTest font which uses the Microsoft specific
symbol CMAP encoding. It also adds a reference font which has the
same glyph for comparison at Private Use area codepoint 0xE000.
The test font's CMAP table for platformID="3" looks as follows,
when dumped using ttx:
<cmap_format_4 platformID="3" platEncID="0" language="0">
<map code="0xf020" name="space"/>
<map code="0xf041" name="A"/>
</cmap_format_4>
So, it was verified to follow the Symbol CMAP encoding pattern.
[1] https://github.com/behdad/harfbuzz/commit/34f9aa582c3a03b578c7eae3d2e8860a0bd5cb00
BUG=627953
R=behdad,kojii,eae
Committed: https://crrev.com/b550f7d3b713058b9a719fdfd79cd863638d6327
Cr-Commit-Position: refs/heads/master@{#407794}
Patch Set 1 #Patch Set 2 : Fix typos, fix base branch reference #
Messages
Total messages: 25 (16 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||