-
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.
Merge pull request #819 from googlefonts/math-table
outlineCompiler: Support generating MATH table
- Loading branch information
Showing
27 changed files
with
747 additions
and
2 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
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
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
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
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,4 @@ | ||
# Prefix: Languagesystems | ||
languagesystem DFLT dflt; | ||
languagesystem math dflt; | ||
|
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,46 @@ | ||
<?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>800</integer> | ||
<key>capHeight</key> | ||
<integer>656</integer> | ||
<key>descender</key> | ||
<integer>-200</integer> | ||
<key>familyName</key> | ||
<string>Test Math Font</string> | ||
<key>italicAngle</key> | ||
<integer>0</integer> | ||
<key>openTypeHeadCreated</key> | ||
<string>2024/02/12 18:20:25</string> | ||
<key>openTypeOS2Type</key> | ||
<array> | ||
<integer>3</integer> | ||
</array> | ||
<key>postscriptBlueValues</key> | ||
<array> | ||
<integer>-18</integer> | ||
<integer>0</integer> | ||
</array> | ||
<key>postscriptOtherBlues</key> | ||
<array> | ||
<integer>-201</integer> | ||
<integer>-200</integer> | ||
</array> | ||
<key>postscriptUnderlinePosition</key> | ||
<integer>-150</integer> | ||
<key>postscriptUnderlineThickness</key> | ||
<integer>50</integer> | ||
<key>styleName</key> | ||
<string>Regular</string> | ||
<key>unitsPerEm</key> | ||
<integer>1000</integer> | ||
<key>versionMajor</key> | ||
<integer>1</integer> | ||
<key>versionMinor</key> | ||
<integer>0</integer> | ||
<key>xHeight</key> | ||
<integer>449</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,38 @@ | ||
<?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>parenleft</key> | ||
<string>parenleft.glif</string> | ||
<key>parenleft.bot</key> | ||
<string>parenleft.bot.glif</string> | ||
<key>parenleft.ext</key> | ||
<string>parenleft.ext.glif</string> | ||
<key>parenleft.size1</key> | ||
<string>parenleft.size1.glif</string> | ||
<key>parenleft.size2</key> | ||
<string>parenleft.size2.glif</string> | ||
<key>parenleft.size3</key> | ||
<string>parenleft.size3.glif</string> | ||
<key>parenleft.size4</key> | ||
<string>parenleft.size4.glif</string> | ||
<key>parenleft.top</key> | ||
<string>parenleft.top.glif</string> | ||
<key>parenright</key> | ||
<string>parenright.glif</string> | ||
<key>parenright.bot</key> | ||
<string>parenright.bot.glif</string> | ||
<key>parenright.ext</key> | ||
<string>parenright.ext.glif</string> | ||
<key>parenright.size1</key> | ||
<string>parenright.size1.glif</string> | ||
<key>parenright.size2</key> | ||
<string>parenright.size2.glif</string> | ||
<key>parenright.size3</key> | ||
<string>parenright.size3.glif</string> | ||
<key>parenright.size4</key> | ||
<string>parenright.size4.glif</string> | ||
<key>parenright.top</key> | ||
<string>parenright.top.glif</string> | ||
</dict> | ||
</plist> |
18 changes: 18 additions & 0 deletions
18
tests/data/TestMathFont-Regular.ufo/glyphs/parenleft.bot.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,18 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<glyph name="parenleft.bot" format="2"> | ||
<advance width="645"/> | ||
<outline> | ||
<contour> | ||
<point x="595" y="-1129" type="line"/> | ||
<point x="291" y="-729"/> | ||
<point x="136" y="-184"/> | ||
<point x="136" y="373" type="curve" smooth="yes"/> | ||
<point x="136" y="687" type="line"/> | ||
<point x="90" y="687" type="line"/> | ||
<point x="90" y="373" type="line" smooth="yes"/> | ||
<point x="90" y="-192"/> | ||
<point x="247" y="-749"/> | ||
<point x="559" y="-1157" type="curve"/> | ||
</contour> | ||
</outline> | ||
</glyph> |
12 changes: 12 additions & 0 deletions
12
tests/data/TestMathFont-Regular.ufo/glyphs/parenleft.ext.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,12 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<glyph name="parenleft.ext" format="2"> | ||
<advance width="645"/> | ||
<outline> | ||
<contour> | ||
<point x="136" y="0" type="line"/> | ||
<point x="136" y="800" type="line"/> | ||
<point x="90" y="800" type="line"/> | ||
<point x="90" y="0" type="line"/> | ||
</contour> | ||
</outline> | ||
</glyph> |
Oops, something went wrong.