fonttools/Tests/feaLib/data/LigatureCaretByIndex.ttx
Khaled Hosny b99ae0d469 [feaLib] Fix handing of duplicate LigatureCaret
The spec has been updated for a while to allow only one rule per glyph,
and makeotf uses the first and ignores the rest.

See https://github.com/adobe-type-tools/afdko/issues/95, and
https://github.com/adobe-type-tools/afdko/issues/155
2019-09-26 16:44:46 +02:00

38 lines
950 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<ttFont>
<GDEF>
<Version value="0x00010000"/>
<LigCaretList>
<Coverage>
<Glyph value="c_t"/>
<Glyph value="o_f_f_i"/>
<Glyph value="s_t"/>
</Coverage>
<!-- LigGlyphCount=3 -->
<LigGlyph index="0">
<!-- CaretCount=1 -->
<CaretValue index="0" Format="2">
<CaretValuePoint value="11"/>
</CaretValue>
</LigGlyph>
<LigGlyph index="1">
<!-- CaretCount=2 -->
<CaretValue index="0" Format="2">
<CaretValuePoint value="33"/>
</CaretValue>
<CaretValue index="1" Format="2">
<CaretValuePoint value="66"/>
</CaretValue>
</LigGlyph>
<LigGlyph index="2">
<!-- CaretCount=1 -->
<CaretValue index="0" Format="2">
<CaretValuePoint value="11"/>
</CaretValue>
</LigGlyph>
</LigCaretList>
</GDEF>
</ttFont>