Skip to content

Commit

Permalink
Merge pull request #118 from djrrb/add-meta-table
Browse files Browse the repository at this point in the history
Copy meta table info from source font
  • Loading branch information
justvanrossum authored Jul 5, 2024
2 parents dbf8a1c + a46929e commit a084d65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/assembleRotatedSources.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ def main():
delattr(outputFont.info, fieldName)
outputFont.info.familyName = familyName
outputFont.lib["public.glyphOrder"] = glyphOrder
outputFont.lib["public.openTypeMeta"] = regularSourceFont.lib["public.openTypeMeta"]
outputFont.groups = rotatedSourceFont.groups
outputFont.kerning = rotatedSourceFont.kerning
outputFont.features.text = fixFeatureIncludes(rotatedSourceFont.features.text)
Expand Down
1 change: 1 addition & 0 deletions scripts/assembleSources.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def breakOutLayers(familyName, source, style, outputPath):
newFont.info.familyName = familyName
newFont.info.styleName = styleName
newFont.lib["public.glyphOrder"] = sourceFont.lib["public.glyphOrder"]
newFont.lib["public.openTypeMeta"] = sourceFont.lib["public.openTypeMeta"]
newFont.kerning = sourceFont.kerning
newFont.groups = sourceFont.groups
newFont.features.text = fixFeatureIncludes(sourceFont.features.text)
Expand Down

0 comments on commit a084d65

Please sign in to comment.