update buildin font names

This commit is contained in:
chrox
2014-07-02 22:47:24 +08:00
parent 5214cc0f4c
commit 6cdfd322f1

View File

@@ -60,8 +60,7 @@ function CreDocument:engineInit()
-- we need to initialize the CRE font list
local fonts = Font:getFontList()
for _k, _v in ipairs(fonts) do
if _v ~= "Dingbats.cff" and _v ~= "StandardSymL.cff"
and _v:sub(1, 6) ~= "Nimbus" then
if _v:sub(1, 4) ~= "urw/" then
local ok, err = pcall(cre.registerFont, Font.fontdir..'/'.._v)
if not ok then
DEBUG(err)