-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[makeotfexe] Add test case for bug 811
afdko issue "Bug in building MarkToBase lookup type 4" #811.
- Loading branch information
1 parent
5dde3bc
commit 368464a
Showing
4 changed files
with
186 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ttFont sfntVersion="OTTO" ttLibVersion="3.43"> | ||
|
||
<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="GPS4"/> | ||
<Feature> | ||
<!-- LookupCount=1 --> | ||
<LookupListIndex index="0" value="0"/> | ||
</Feature> | ||
</FeatureRecord> | ||
</FeatureList> | ||
<LookupList> | ||
<!-- LookupCount=1 --> | ||
<Lookup index="0"> | ||
<LookupType value="4"/> | ||
<LookupFlag value="0"/> | ||
<!-- SubTableCount=1 --> | ||
<MarkBasePos index="0" Format="1"> | ||
<MarkCoverage Format="1"> | ||
<Glyph value=".notdef"/> | ||
<Glyph value="a"/> | ||
</MarkCoverage> | ||
<BaseCoverage Format="1"> | ||
<Glyph value=".notdef"/> | ||
<Glyph value="a"/> | ||
</BaseCoverage> | ||
<!-- ClassCount=1 --> | ||
<MarkArray> | ||
<!-- MarkCount=2 --> | ||
<MarkRecord index="0"> | ||
<Class value="0"/> | ||
<MarkAnchor Format="1"> | ||
<XCoordinate value="300"/> | ||
<YCoordinate value="500"/> | ||
</MarkAnchor> | ||
</MarkRecord> | ||
<MarkRecord index="1"> | ||
<Class value="0"/> | ||
<MarkAnchor Format="1"> | ||
<XCoordinate value="300"/> | ||
<YCoordinate value="680"/> | ||
</MarkAnchor> | ||
</MarkRecord> | ||
</MarkArray> | ||
<BaseArray> | ||
<!-- BaseCount=2 --> | ||
<BaseRecord index="0"> | ||
<BaseAnchor index="0" Format="1"> | ||
<XCoordinate value="300"/> | ||
<YCoordinate value="680"/> | ||
</BaseAnchor> | ||
</BaseRecord> | ||
<BaseRecord index="1"> | ||
<BaseAnchor index="0" Format="1"> | ||
<XCoordinate value="300"/> | ||
<YCoordinate value="500"/> | ||
</BaseAnchor> | ||
</BaseRecord> | ||
</BaseArray> | ||
</MarkBasePos> | ||
</Lookup> | ||
</LookupList> | ||
</GPOS> | ||
|
||
</ttFont> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
table head { | ||
FontRevision 1.011; | ||
} head; | ||
|
||
languagesystem DFLT dflt; | ||
|
||
# Copeid loosely from SourceCodeProRegular | ||
@mGC_above_300_500 = [.notdef]; | ||
@mGC_above_300_680 = [a]; | ||
|
||
markClass @mGC_above_300_500 <anchor 300 500> @MC_above; | ||
markClass @mGC_above_300_680 <anchor 300 680> @MC_above; | ||
|
||
feature GPS4 { | ||
|
||
pos base .notdef <anchor 300 680> mark @MC_above; | ||
pos base a <anchor 300 500> mark @MC_above; | ||
} GPS4; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters