Start implementing the MacRomanEncoding

This commit is contained in:
Tissevert 2020-02-05 18:03:44 +01:00
parent 764e2c6a4f
commit b859338a57
3 changed files with 10 additions and 0 deletions

View file

@ -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:

View file

@ -0,0 +1,8 @@
module PDF.Encoding.MacRoman (
macRomanEncoding
) where
import PDF.Font (Font)
macRomanEncoding :: Font
macRomanEncoding = Right

View file

@ -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(..)