Start implementing the MacRomanEncoding
This commit is contained in:
parent
764e2c6a4f
commit
b859338a57
3 changed files with 10 additions and 0 deletions
|
@ -26,6 +26,7 @@ library
|
||||||
, PDF.Text
|
, PDF.Text
|
||||||
, PDF.Update
|
, PDF.Update
|
||||||
other-modules: Data.ByteString.Char8.Util
|
other-modules: Data.ByteString.Char8.Util
|
||||||
|
, PDF.Encoding.MacRoman
|
||||||
, PDF.Body
|
, PDF.Body
|
||||||
, PDF.Font
|
, PDF.Font
|
||||||
-- other-extensions:
|
-- other-extensions:
|
||||||
|
|
8
src/PDF/Encoding/MacRoman.hs
Normal file
8
src/PDF/Encoding/MacRoman.hs
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
module PDF.Encoding.MacRoman (
|
||||||
|
macRomanEncoding
|
||||||
|
) where
|
||||||
|
|
||||||
|
import PDF.Font (Font)
|
||||||
|
|
||||||
|
macRomanEncoding :: Font
|
||||||
|
macRomanEncoding = Right
|
|
@ -14,6 +14,7 @@ import qualified Data.ByteString.Lazy as Lazy (fromStrict, toStrict)
|
||||||
import Data.Map (Map, (!))
|
import Data.Map (Map, (!))
|
||||||
import qualified Data.Map as Map (empty, fromList, insert, lookup, toList)
|
import qualified Data.Map as Map (empty, fromList, insert, lookup, toList)
|
||||||
import PDF.CMap (cMap)
|
import PDF.CMap (cMap)
|
||||||
|
import PDF.Encoding.MacRoman (macRomanEncoding)
|
||||||
import PDF.Font (Font, FontSet)
|
import PDF.Font (Font, FontSet)
|
||||||
import PDF.Object (
|
import PDF.Object (
|
||||||
Content(..), Dictionary, DirectObject(..), IndirectObjCoordinates(..)
|
Content(..), Dictionary, DirectObject(..), IndirectObjCoordinates(..)
|
||||||
|
|
Loading…
Reference in a new issue