Skip to content

Commit

Permalink
Update requirements
Browse files Browse the repository at this point in the history
update a couple of otfautohint tests to match newer fontTools releases
  • Loading branch information
skef committed Feb 27, 2025
1 parent 9a34aef commit f3b7e0e
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 28 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ dependencies = [
"lxml >= 4.9.3",
"booleanOperations >= 0.9.0",
"defcon[lxml,pens] >= 0.10.3",
"fontMath >= 0.9.3",
"fontTools[unicode,woff,lxml,ufo] >= 4.43.0",
"fontMath >= 0.9.4",
"fontTools[unicode,woff,lxml,ufo] >= 4.55.0",
"tqdm >= 4.66.1",
"ufonormalizer >= 0.6.1",
"ufonormalizer >= 0.6.2",
"ufoProcessor >= 1.13.1",
]

Expand Down
16 changes: 8 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
# of our tools is stable
# NOTE: hard-pinning (==) here gets relaxed to >= in pyproject.toml
# NOTE: This list is currently duplicated in pyproject.toml
lxml>=4.9.3
booleanOperations>=0.9.0
defcon[lxml,pens]>=0.10.3
fontMath>=0.9.3
fontTools[unicode,woff,lxml,ufo]>=4.43.0
tqdm>=4.66.1
ufonormalizer>=0.6.1
ufoProcessor>=1.13.1
lxml==4.9.3
booleanOperations==0.9.0
defcon[lxml,pens]==0.10.3
fontMath==0.9.4
fontTools[unicode,woff,lxml,ufo]==4.55.0
tqdm==4.66.1
ufonormalizer==0.6.2
ufoProcessor==1.13.1
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@
<point x="153.6" y="-84"/>
<point x="142.4" y="-63.2"/>
<point x="142.4" y="-11.2" type="curve"/>
<point x="142.4" y="37.6"/>
<point x="142.4" y="37.6" name="hintRef0001"/>
<point x="147.2" y="79.2"/>
<point x="147.2" y="133.6" type="curve"/>
<point x="147.2" y="184.8" name="hintRef0001"/>
<point x="147.2" y="184.8" name="hintRef0002"/>
<point x="133.6" y="211.2"/>
<point x="99.2" y="220.8" type="curve"/>
<point x="99.2" y="224" type="line"/>
<point x="133.6" y="233.6"/>
<point x="147.2" y="259.2"/>
<point x="147.2" y="311.2" type="curve"/>
<point x="147.2" y="365.6" name="hintRef0002"/>
<point x="147.2" y="365.6"/>
<point x="142.4" y="407.2"/>
<point x="142.4" y="456" type="curve"/>
<point x="142.4" y="508"/>
<point x="142.4" y="508" name="hintRef0003"/>
<point x="153.6" y="528.8"/>
<point x="196.8" y="528.8" type="curve"/>
<point x="218.4" y="528.8" type="line"/>
Expand All @@ -33,17 +33,17 @@
<point x="119.2" y="566.4"/>
<point x="88.8" y="542.4"/>
<point x="88.8" y="460" type="curve"/>
<point x="88.8" y="401.6"/>
<point x="88.8" y="401.6" name="hintRef0004"/>
<point x="96" y="359.2"/>
<point x="96" y="304.8" type="curve"/>
<point x="96" y="274.4" name="hintRef0003"/>
<point x="96" y="274.4"/>
<point x="81.6" y="244"/>
<point x="27.2" y="243.2" type="curve"/>
<point x="27.2" y="201.6" type="line"/>
<point x="81.6" y="200.8"/>
<point x="27.2" y="201.6" type="line" name="hintRef0005"/>
<point x="81.6" y="200.8" name="hintRef0006"/>
<point x="96" y="170.4"/>
<point x="96" y="139.2" type="curve"/>
<point x="96" y="85.6" name="hintRef0004"/>
<point x="96" y="85.6"/>
<point x="88.8" y="43.2"/>
<point x="88.8" y="-15.2" type="curve"/>
<point x="88.8" y="-97.6"/>
Expand Down Expand Up @@ -75,7 +75,7 @@
<string>hstem -121.6 37.6</string>
<string>hstem 201.6 41.6</string>
<string>hstem 528.8 37.6</string>
<string>vstem 27.2 72</string>
<string>vstem 96 51.2</string>
</array>
</dict>
<dict>
Expand All @@ -86,7 +86,7 @@
<string>hstem -121.6 37.6</string>
<string>hstem 201.6 41.6</string>
<string>hstem 528.8 37.6</string>
<string>vstem 88.8 53.6</string>
<string>vstem 96 51.2</string>
</array>
</dict>
<dict>
Expand All @@ -97,7 +97,7 @@
<string>hstem -121.6 37.6</string>
<string>hstem 201.6 41.6</string>
<string>hstem 528.8 37.6</string>
<string>vstem 27.2 72</string>
<string>vstem 88.8 53.6</string>
</array>
</dict>
<dict>
Expand All @@ -108,7 +108,29 @@
<string>hstem -121.6 37.6</string>
<string>hstem 201.6 41.6</string>
<string>hstem 528.8 37.6</string>
<string>vstem 88.8 53.6</string>
<string>vstem 96 51.2</string>
</array>
</dict>
<dict>
<key>pointTag</key>
<string>hintRef0005</string>
<key>stems</key>
<array>
<string>hstem -121.6 37.6</string>
<string>hstem 201.6 41.6</string>
<string>hstem 528.8 37.6</string>
<string>vstem 27.2 72</string>
</array>
</dict>
<dict>
<key>pointTag</key>
<string>hintRef0006</string>
<key>stems</key>
<array>
<string>hstem -121.6 37.6</string>
<string>hstem 201.6 41.6</string>
<string>hstem 528.8 37.6</string>
<string>vstem 96 51.2</string>
</array>
</dict>
</array>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<point x="161.6" y="244" name="hintRef0003"/>
<point x="146.4" y="274.4"/>
<point x="146.4" y="304.8" type="curve"/>
<point x="146.4" y="359.2"/>
<point x="146.4" y="359.2" name="hintRef0004"/>
<point x="153.6" y="401.6"/>
<point x="153.6" y="460" type="curve"/>
<point x="153.6" y="542.4"/>
Expand All @@ -34,14 +34,14 @@
<point x="100" y="407.2"/>
<point x="96" y="365.6"/>
<point x="96" y="311.2" type="curve"/>
<point x="96" y="259.2" name="hintRef0004"/>
<point x="96" y="259.2" name="hintRef0005"/>
<point x="108.8" y="233.6"/>
<point x="143.2" y="224" type="curve"/>
<point x="143.2" y="220.8" type="line"/>
<point x="108.8" y="211.2"/>
<point x="96" y="184.8"/>
<point x="96" y="133.6" type="curve"/>
<point x="96" y="79.2" name="hintRef0005"/>
<point x="96" y="79.2" name="hintRef0006"/>
<point x="100" y="37.6"/>
<point x="100" y="-11.2" type="curve"/>
<point x="100" y="-63.2"/>
Expand Down Expand Up @@ -108,13 +108,24 @@
<string>hstem -121.6 37.6</string>
<string>hstem 201.6 41.6</string>
<string>hstem 528.8 37.6</string>
<string>vstem 96 50.4</string>
<string>vstem 100 53.6</string>
</array>
</dict>
<dict>
<key>pointTag</key>
<string>hintRef0005</string>
<key>stems</key>
<array>
<string>hstem -121.6 37.6</string>
<string>hstem 201.6 41.6</string>
<string>hstem 528.8 37.6</string>
<string>vstem 96 50.4</string>
</array>
</dict>
<dict>
<key>pointTag</key>
<string>hintRef0006</string>
<key>stems</key>
<array>
<string>hstem -121.6 37.6</string>
<string>hstem 201.6 41.6</string>
Expand Down
Binary file modified tests/otfautohint_data/input/dummy/font.ps
Binary file not shown.

0 comments on commit f3b7e0e

Please sign in to comment.