summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-test-otf.pe
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-test-otf.pe')
-rw-r--r--Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-test-otf.pe4
1 files changed, 4 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-test-otf.pe b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-test-otf.pe
index f5555943a33..3b8bcf7847d 100644
--- a/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-test-otf.pe
+++ b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-test-otf.pe
@@ -5,4 +5,8 @@ SelectMore(0uf710,0uf717)
SelectMore(0uf718,0uf71A)
Clear()
SetFontNames("OTF"+$fontname, "OTF"+$familyname, "OTF"+$fullname)
+pref_fam=GetTTFName(0x409, 16)
+if (pref_fam != "")
+ SetTTFName(0x409, 16, "OTF"+pref_fam)
+endif
Generate($fontname + ".otf")