diff options
author | Karl Berry <karl@freefriends.org> | 2016-07-19 22:28:40 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-07-19 22:28:40 +0000 |
commit | 2fb78d4ff7cbbb506bab921b0c08242e5f955289 (patch) | |
tree | 3172a25b8cd21a70eaf5e9472621683bfc32a5b5 /Master/texmf-dist/doc/fonts/oldstandard/ost-generate.py | |
parent | 210a8c68428c7cd6b8dc1da14a270a906a76252f (diff) |
oldstandard (19jul16)
git-svn-id: svn://tug.org/texlive/trunk@41735 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts/oldstandard/ost-generate.py')
-rw-r--r-- | Master/texmf-dist/doc/fonts/oldstandard/ost-generate.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Master/texmf-dist/doc/fonts/oldstandard/ost-generate.py b/Master/texmf-dist/doc/fonts/oldstandard/ost-generate.py deleted file mode 100644 index 0f394d9776f..00000000000 --- a/Master/texmf-dist/doc/fonts/oldstandard/ost-generate.py +++ /dev/null @@ -1,24 +0,0 @@ -import fontforge - -base_name = "OldStandard" -full_name = "Old Standard" -styles = ("Regular", "Italic", "Bold",) - -def process_font(name, fname, style): - filename = name + "-" + style - font = fontforge.open(filename + ".sfd") - font.encoding = "mac" - font.generate(filename + ".otf",flags=("opentype","PfEd-colors","PfEd-lookups"),layer="Fore") - - font.familyname = fname + " TT" - font.fullname = fname + " TT " + style - font.fontname = name + "TT-" + style - font.generate(filename + ".ttf",flags=("opentype","old-kern","PfEd-colors","PfEd-lookups"),layer="TTF") - - font.close() - -for style in styles: - fontforge.setPrefs("AutoHint",False) - fontforge.setPrefs("ClearInstrsBigChanges",False) - fontforge.setPrefs("CopyTTFInstrs",False) - process_font(base_name, full_name, style) |