If a zero value appears in a SinglePos statement, feaLib continues to produce ValueRecords of format 0. But if a zero value appears in a PairPos statement inside a horizontal compilation context, feaLib now produces ValueRecords of format 4. Likewise, if a zero value appears in a PairPos statement inside a vertical compilation context, feaLib now produces ValueRecords of format 8. The OpenType Feature Syntax specification is completely silent about this, but the new behavior matches that of makeotf. https://github.com/fonttools/fonttools/issues/633
76 lines
2.2 KiB
XML
76 lines
2.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ttFont sfntVersion="true" ttLibVersion="3.0">
|
|
|
|
<GPOS>
|
|
<Version value="0x00010000"/>
|
|
<ScriptList>
|
|
<!-- ScriptCount=1 -->
|
|
<ScriptRecord index="0">
|
|
<ScriptTag value="DFLT"/>
|
|
<Script>
|
|
<DefaultLangSys>
|
|
<ReqFeatureIndex value="65535"/>
|
|
<!-- FeatureCount=1 -->
|
|
<FeatureIndex index="0" value="0"/>
|
|
</DefaultLangSys>
|
|
<!-- LangSysCount=0 -->
|
|
</Script>
|
|
</ScriptRecord>
|
|
</ScriptList>
|
|
<FeatureList>
|
|
<!-- FeatureCount=1 -->
|
|
<FeatureRecord index="0">
|
|
<FeatureTag value="vkrn"/>
|
|
<Feature>
|
|
<!-- LookupCount=1 -->
|
|
<LookupListIndex index="0" value="0"/>
|
|
</Feature>
|
|
</FeatureRecord>
|
|
</FeatureList>
|
|
<LookupList>
|
|
<!-- LookupCount=1 -->
|
|
<Lookup index="0">
|
|
<LookupType value="2"/>
|
|
<LookupFlag value="0"/>
|
|
<!-- SubTableCount=1 -->
|
|
<PairPos index="0" Format="1">
|
|
<Coverage>
|
|
<Glyph value="A"/>
|
|
<Glyph value="B"/>
|
|
</Coverage>
|
|
<ValueFormat1 value="8"/>
|
|
<ValueFormat2 value="8"/>
|
|
<!-- PairSetCount=2 -->
|
|
<PairSet index="0">
|
|
<!-- PairValueCount=2 -->
|
|
<PairValueRecord index="0">
|
|
<SecondGlyph value="A"/>
|
|
<Value1 YAdvance="0"/>
|
|
<Value2 YAdvance="0"/>
|
|
</PairValueRecord>
|
|
<PairValueRecord index="1">
|
|
<SecondGlyph value="B"/>
|
|
<Value1 YAdvance="0"/>
|
|
<Value2 YAdvance="0"/>
|
|
</PairValueRecord>
|
|
</PairSet>
|
|
<PairSet index="1">
|
|
<!-- PairValueCount=2 -->
|
|
<PairValueRecord index="0">
|
|
<SecondGlyph value="A"/>
|
|
<Value1 YAdvance="0"/>
|
|
<Value2 YAdvance="0"/>
|
|
</PairValueRecord>
|
|
<PairValueRecord index="1">
|
|
<SecondGlyph value="B"/>
|
|
<Value1 YAdvance="0"/>
|
|
<Value2 YAdvance="0"/>
|
|
</PairValueRecord>
|
|
</PairSet>
|
|
</PairPos>
|
|
</Lookup>
|
|
</LookupList>
|
|
</GPOS>
|
|
|
|
</ttFont>
|