Skip to content

Commit

Permalink
Copy meta table info from source font
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed Jul 5, 2024
1 parent dbf8a1c commit a46929e
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 a46929e

Please sign in to comment.