-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some tests for variable feature writing
Add test for different feature writers Fix up test expectations This should now test the variable features
- Loading branch information
1 parent
1d42f9b
commit d8aaafe
Showing
35 changed files
with
1,597 additions
and
10 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,36 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>ascender</key> | ||
<integer>600</integer> | ||
<key>capHeight</key> | ||
<integer>700</integer> | ||
<key>descender</key> | ||
<integer>-400</integer> | ||
<key>familyName</key> | ||
<string>TestVarfea</string> | ||
<key>italicAngle</key> | ||
<integer>0</integer> | ||
<key>openTypeHeadCreated</key> | ||
<string>2022/07/26 14:49:29</string> | ||
<key>openTypeOS2Type</key> | ||
<array> | ||
<integer>3</integer> | ||
</array> | ||
<key>postscriptUnderlinePosition</key> | ||
<integer>-100</integer> | ||
<key>postscriptUnderlineThickness</key> | ||
<integer>50</integer> | ||
<key>styleName</key> | ||
<string>Bold</string> | ||
<key>unitsPerEm</key> | ||
<integer>1000</integer> | ||
<key>versionMajor</key> | ||
<integer>1</integer> | ||
<key>versionMinor</key> | ||
<integer>0</integer> | ||
<key>xHeight</key> | ||
<integer>500</integer> | ||
</dict> | ||
</plist> |
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,31 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<glyph name="alef-ar.fina" format="2"> | ||
<advance width="600"/> | ||
<unicode hex="0627"/> | ||
<anchor x="330" y="115" name="entry"/> | ||
<anchor x="214" y="797" name="top"/> | ||
<outline> | ||
<contour> | ||
<point x="297" y="601" type="line"/> | ||
<point x="297" y="173"/> | ||
<point x="310" y="133"/> | ||
<point x="348" y="118" type="curve" smooth="yes"/> | ||
<point x="402" y="97"/> | ||
<point x="433" y="86"/> | ||
<point x="487" y="123" type="curve"/> | ||
<point x="565" y="-41" type="line"/> | ||
<point x="501" y="-73"/> | ||
<point x="400" y="-76"/> | ||
<point x="355" y="-76" type="curve" smooth="yes"/> | ||
<point x="108" y="-76"/> | ||
<point x="137" y="121"/> | ||
<point x="137" y="569" type="curve"/> | ||
</contour> | ||
</outline> | ||
<lib> | ||
<dict> | ||
<key>com.schriftgestaltung.Glyphs.lastChange</key> | ||
<string>2023/11/20 16:51:14</string> | ||
</dict> | ||
</lib> | ||
</glyph> |
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,16 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>alef-ar.fina</key> | ||
<string>alef-ar.fina.glif</string> | ||
<key>dotabove-ar</key> | ||
<string>dotabove-ar.glif</string> | ||
<key>peh-ar.init</key> | ||
<string>peh-ar.init.glif</string> | ||
<key>peh-ar.init.BRACKET.varAlt01</key> | ||
<string>peh-ar.init.B_R_A_C_K_E_T_.varA_lt01.glif</string> | ||
<key>space</key> | ||
<string>space.glif</string> | ||
</dict> | ||
</plist> |
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,31 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<glyph name="dotabove-ar" format="2"> | ||
<anchor x="125" y="416" name="_top"/> | ||
<outline> | ||
<contour> | ||
<point x="120" y="292" type="curve"/> | ||
<point x="129" y="292" type="line"/> | ||
<point x="180" y="328"/> | ||
<point x="231" y="372"/> | ||
<point x="231" y="409" type="curve" smooth="yes"/> | ||
<point x="231" y="445"/> | ||
<point x="196" y="472"/> | ||
<point x="135" y="511" type="curve"/> | ||
<point x="124" y="511" type="line"/> | ||
<point x="105" y="499"/> | ||
<point x="38" y="425"/> | ||
<point x="18" y="393" type="curve"/> | ||
<point x="18" y="382" type="line"/> | ||
<point x="50" y="359"/> | ||
<point x="60" y="350"/> | ||
</contour> | ||
</outline> | ||
<lib> | ||
<dict> | ||
<key>com.schriftgestaltung.Glyphs.lastChange</key> | ||
<string>2023/11/20 16:50:50</string> | ||
<key>com.schriftgestaltung.Glyphs.originalWidth</key> | ||
<integer>300</integer> | ||
</dict> | ||
</lib> | ||
</glyph> |
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 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>lib</key> | ||
<dict> | ||
<key>com.schriftgestaltung.layerId</key> | ||
<string>B1C208F5-A14F-4863-B7E7-1D4BAD4C88B2</string> | ||
<key>com.schriftgestaltung.layerOrderInGlyph.alef-ar.fina</key> | ||
<integer>1</integer> | ||
<key>com.schriftgestaltung.layerOrderInGlyph.dotabove-ar</key> | ||
<integer>1</integer> | ||
<key>com.schriftgestaltung.layerOrderInGlyph.peh-ar.init</key> | ||
<integer>1</integer> | ||
<key>com.schriftgestaltung.layerOrderInGlyph.space</key> | ||
<integer>1</integer> | ||
</dict> | ||
</dict> | ||
</plist> |
77 changes: 77 additions & 0 deletions
77
tests/data/TestVarfea-Bold.ufo/glyphs/peh-ar.init.B_R_A_C_K_E_T_.varA_lt01.glif
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,77 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<glyph name="peh-ar.init.BRACKET.varAlt01" format="2"> | ||
<advance width="600"/> | ||
<anchor x="73" y="85" name="exit"/> | ||
<outline> | ||
<contour> | ||
<point x="291" y="322" type="curve"/> | ||
<point x="525" y="322" type="line"/> | ||
<point x="509" y="19"/> | ||
<point x="513" y="14"/> | ||
<point x="342" y="-63" type="curve" smooth="yes"/> | ||
<point x="232" y="-113"/> | ||
<point x="142" y="-102"/> | ||
<point x="61" y="-87" type="curve"/> | ||
<point x="61" y="104" type="line"/> | ||
<point x="104" y="84"/> | ||
<point x="139" y="75"/> | ||
<point x="167" y="75" type="curve" smooth="yes"/> | ||
<point x="252" y="75"/> | ||
<point x="277" y="161"/> | ||
</contour> | ||
<contour> | ||
<point x="264" y="-117" type="curve" smooth="yes"/> | ||
<point x="153" y="-223" type="line" smooth="yes"/> | ||
<point x="146" y="-230"/> | ||
<point x="145" y="-242"/> | ||
<point x="153" y="-250" type="curve" smooth="yes"/> | ||
<point x="259" y="-361" type="line" smooth="yes"/> | ||
<point x="267" y="-370"/> | ||
<point x="279" y="-369"/> | ||
<point x="287" y="-361" type="curve" smooth="yes"/> | ||
<point x="369" y="-282" type="line"/> | ||
<point x="445" y="-361" type="line" smooth="yes"/> | ||
<point x="453" y="-369"/> | ||
<point x="464" y="-369"/> | ||
<point x="472" y="-361" type="curve" smooth="yes"/> | ||
<point x="583" y="-255" type="line" smooth="yes"/> | ||
<point x="590" y="-248"/> | ||
<point x="590" y="-236"/> | ||
<point x="583" y="-228" type="curve" smooth="yes"/> | ||
<point x="477" y="-117" type="line" smooth="yes"/> | ||
<point x="469" y="-108"/> | ||
<point x="457" y="-109"/> | ||
<point x="449" y="-117" type="curve" smooth="yes"/> | ||
<point x="367" y="-196" type="line"/> | ||
<point x="291" y="-117" type="line" smooth="yes"/> | ||
<point x="283" y="-109"/> | ||
<point x="272" y="-109"/> | ||
</contour> | ||
<contour> | ||
<point x="345" y="-364" type="curve" smooth="yes"/> | ||
<point x="208" y="-495" type="line" smooth="yes"/> | ||
<point x="199" y="-504"/> | ||
<point x="198" y="-519"/> | ||
<point x="208" y="-529" type="curve" smooth="yes"/> | ||
<point x="339" y="-666" type="line" smooth="yes"/> | ||
<point x="348" y="-676"/> | ||
<point x="364" y="-675"/> | ||
<point x="373" y="-666" type="curve" smooth="yes"/> | ||
<point x="510" y="-535" type="line" smooth="yes"/> | ||
<point x="520" y="-526"/> | ||
<point x="520" y="-511"/> | ||
<point x="510" y="-501" type="curve" smooth="yes"/> | ||
<point x="379" y="-364" type="line" smooth="yes"/> | ||
<point x="369" y="-354"/> | ||
<point x="354" y="-355"/> | ||
</contour> | ||
</outline> | ||
<lib> | ||
<dict> | ||
<key>com.schriftgestaltung.Glyphs._originalLayerName</key> | ||
<string>26 Jul 22, 15:59</string> | ||
<key>com.schriftgestaltung.Glyphs.lastChange</key> | ||
<string>2022/07/27 08:01:34</string> | ||
</dict> | ||
</lib> | ||
</glyph> |
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,84 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<glyph name="peh-ar.init" format="2"> | ||
<advance width="600"/> | ||
<unicode hex="067E"/> | ||
<anchor x="73" y="89" name="exit"/> | ||
<outline> | ||
<contour> | ||
<point x="291" y="322" type="curve"/> | ||
<point x="525" y="322" type="line"/> | ||
<point x="509" y="19"/> | ||
<point x="513" y="14"/> | ||
<point x="342" y="-63" type="curve" smooth="yes"/> | ||
<point x="232" y="-113"/> | ||
<point x="142" y="-102"/> | ||
<point x="61" y="-87" type="curve"/> | ||
<point x="61" y="104" type="line"/> | ||
<point x="104" y="84"/> | ||
<point x="139" y="75"/> | ||
<point x="167" y="75" type="curve" smooth="yes"/> | ||
<point x="252" y="75"/> | ||
<point x="277" y="161"/> | ||
</contour> | ||
<contour> | ||
<point x="226" y="-102" type="curve" smooth="yes"/> | ||
<point x="115" y="-208" type="line" smooth="yes"/> | ||
<point x="107" y="-215"/> | ||
<point x="107" y="-228"/> | ||
<point x="115" y="-236" type="curve" smooth="yes"/> | ||
<point x="221" y="-347" type="line" smooth="yes"/> | ||
<point x="229" y="-355"/> | ||
<point x="241" y="-354"/> | ||
<point x="248" y="-347" type="curve" smooth="yes"/> | ||
<point x="359" y="-241" type="line" smooth="yes"/> | ||
<point x="367" y="-233"/> | ||
<point x="367" y="-222"/> | ||
<point x="359" y="-213" type="curve" smooth="yes"/> | ||
<point x="253" y="-102" type="line" smooth="yes"/> | ||
<point x="246" y="-94"/> | ||
<point x="233" y="-95"/> | ||
</contour> | ||
<contour> | ||
<point x="498" y="-102" type="curve" smooth="yes"/> | ||
<point x="387" y="-208" type="line" smooth="yes"/> | ||
<point x="379" y="-216"/> | ||
<point x="379" y="-227"/> | ||
<point x="387" y="-236" type="curve" smooth="yes"/> | ||
<point x="493" y="-347" type="line" smooth="yes"/> | ||
<point x="500" y="-355"/> | ||
<point x="513" y="-354"/> | ||
<point x="520" y="-347" type="curve" smooth="yes"/> | ||
<point x="631" y="-241" type="line" smooth="yes"/> | ||
<point x="639" y="-234"/> | ||
<point x="639" y="-221"/> | ||
<point x="631" y="-213" type="curve" smooth="yes"/> | ||
<point x="525" y="-102" type="line" smooth="yes"/> | ||
<point x="517" y="-94"/> | ||
<point x="505" y="-95"/> | ||
</contour> | ||
<contour> | ||
<point x="350" y="-349" type="curve" smooth="yes"/> | ||
<point x="238" y="-455" type="line" smooth="yes"/> | ||
<point x="230" y="-462"/> | ||
<point x="230" y="-475"/> | ||
<point x="238" y="-483" type="curve" smooth="yes"/> | ||
<point x="345" y="-594" type="line" smooth="yes"/> | ||
<point x="352" y="-602"/> | ||
<point x="364" y="-601"/> | ||
<point x="372" y="-594" type="curve" smooth="yes"/> | ||
<point x="483" y="-488" type="line" smooth="yes"/> | ||
<point x="491" y="-481"/> | ||
<point x="491" y="-468"/> | ||
<point x="483" y="-460" type="curve" smooth="yes"/> | ||
<point x="377" y="-349" type="line" smooth="yes"/> | ||
<point x="369" y="-341"/> | ||
<point x="357" y="-342"/> | ||
</contour> | ||
</outline> | ||
<lib> | ||
<dict> | ||
<key>com.schriftgestaltung.Glyphs.lastChange</key> | ||
<string>2022/07/27 08:01:34</string> | ||
</dict> | ||
</lib> | ||
</glyph> |
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,13 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<glyph name="space" format="2"> | ||
<advance width="600"/> | ||
<unicode hex="0020"/> | ||
<outline> | ||
</outline> | ||
<lib> | ||
<dict> | ||
<key>com.schriftgestaltung.Glyphs.lastChange</key> | ||
<string>2022/07/26 15:00:45</string> | ||
</dict> | ||
</lib> | ||
</glyph> |
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,11 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>alef-ar.fina</key> | ||
<dict> | ||
<key>alef-ar.fina</key> | ||
<integer>35</integer> | ||
</dict> | ||
</dict> | ||
</plist> |
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,10 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<array> | ||
<array> | ||
<string>public.default</string> | ||
<string>glyphs</string> | ||
</array> | ||
</array> | ||
</plist> |
Oops, something went wrong.