From a46929efd113719a0db0db9639e212cdc60e3864 Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Fri, 5 Jul 2024 08:46:07 +0200 Subject: [PATCH] Copy meta table info from source font --- scripts/assembleRotatedSources.py | 1 + scripts/assembleSources.py | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/assembleRotatedSources.py b/scripts/assembleRotatedSources.py index accb63cdf..2d6a27c43 100644 --- a/scripts/assembleRotatedSources.py +++ b/scripts/assembleRotatedSources.py @@ -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) diff --git a/scripts/assembleSources.py b/scripts/assembleSources.py index 447b17479..ec859191b 100644 --- a/scripts/assembleSources.py +++ b/scripts/assembleSources.py @@ -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)