From 3cf08772bcf7db9991ddf920f2d1ca8b4e1a22a0 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Wed, 19 Oct 2011 03:44:16 +0200 Subject: Add type1 fonts reader --- otfl-font-pfb.lua | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 otfl-font-pfb.lua (limited to 'otfl-font-pfb.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 -- cgit v1.2.3