summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/fonts/zhmetrics/zhtfm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/fonts/zhmetrics/zhtfm.lua')
-rw-r--r--Master/texmf-dist/source/fonts/zhmetrics/zhtfm.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/fonts/zhmetrics/zhtfm.lua b/Master/texmf-dist/source/fonts/zhmetrics/zhtfm.lua
index c7b38ccec6b..42c58691a9a 100644
--- a/Master/texmf-dist/source/fonts/zhmetrics/zhtfm.lua
+++ b/Master/texmf-dist/source/fonts/zhmetrics/zhtfm.lua
@@ -142,11 +142,13 @@ function generate_tfm (cjkname)
write_tfm(path, familyname, "UGBK")
write_tfm(path, familyname .. "sl", "UGBK", 0.167)
familyname = "uni" .. string.lower(cjkname)
+ if (cjkname == "") then familyname = "cyberb" end
path = settings.tfmdir .. "\\" .. familyname
write_tfm(path, familyname, "UNICODE")
write_tfm(path, familyname .. "sl", "UNICODE", 0.167)
end
+generate_tfm("")
generate_tfm("song")
generate_tfm("fs")
generate_tfm("hei")