diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2011-10-19 03:44:16 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2011-10-19 03:44:16 +0200 |
commit | 3cf08772bcf7db9991ddf920f2d1ca8b4e1a22a0 (patch) | |
tree | a101964b16610e243c03588730c3c347ac12dd70 | |
parent | f2b2b467de8e4c58a19859a713694ae50afb00be (diff) | |
download | luaotfload-3cf08772bcf7db9991ddf920f2d1ca8b4e1a22a0.tar.gz |
Add type1 fonts reader
-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 |