diff options
-rw-r--r-- | luaotfload.dtx | 1 | ||||
-rw-r--r-- | otfl-font-pfb.lua | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/luaotfload.dtx b/luaotfload.dtx index e6bef4d..b08091a 100644 --- a/luaotfload.dtx +++ b/luaotfload.dtx @@ -560,6 +560,7 @@ require('otfl-font-nms.lua') require('otfl-fonts-tfm.lua') require('otfl-font-oti.lua') require('otfl-font-otf.lua') +require('otfl-font-pfb.lua') require('otfl-font-otb.lua') require('otfl-node-inj.lua') require('otfl-font-otn.lua') diff --git a/otfl-font-pfb.lua b/otfl-font-pfb.lua new file mode 100644 index 0000000..66abf23 --- /dev/null +++ b/otfl-font-pfb.lua @@ -0,0 +1,8 @@ +local fonts = fonts +local readers = fonts.readers + +fonts.formats.pfb = "pfb" +fonts.formats.pfa = "pfa" + +function readers.pfb(specification) return readers.opentype(specification,"pfb","type1") end +function readers.pfa(specification) return readers.opentype(specification,"pfa","type1") end |