Skip to content

Commit

Permalink
[scale-upem] Implement vhea
Browse files Browse the repository at this point in the history
  • Loading branch information
behdad committed Aug 15, 2022
1 parent ec2919c commit 6bac64f
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions Snippets/scale-upem.py
Expand Up @@ -26,7 +26,21 @@ def scale(self, v):
"minLeftSideBearing",
"minRightSideBearing",
"xMaxExtent",
),
"caretOffset",
)
),
(
ttLib.getTableClass("vhea"),
(
"ascent",
"descent",
"lineGap",
"advanceHeightMax",
"minTopSideBearing",
"minBottomSideBearing",
"yMaxExtent",
"caretOffset",
)
),
(
ttLib.getTableClass("OS/2"),
Expand All @@ -49,7 +63,7 @@ def scale(self, v):
"usWinDescent",
"sxHeight",
"sCapHeight",
),
)
),
(otTables.ValueRecord, ("XAdvance", "YAdvance", "XPlacement", "YPlacement")),
(otTables.Anchor, ("XCoordinate", "YCoordinate")),
Expand Down

0 comments on commit 6bac64f

Please sign in to comment.