diff --git a/line2pdf.cabal b/line2pdf.cabal
--- a/line2pdf.cabal
+++ b/line2pdf.cabal
@@ -1,5 +1,5 @@
 name:               line2pdf
-version:            0.0.4
+version:            0.0.5
 copyright:          2008 Audrey Tang
 license:            BSD3
 license-file:       LICENSE
diff --git a/src/Text/LineToPDF.hs b/src/Text/LineToPDF.hs
--- a/src/Text/LineToPDF.hs
+++ b/src/Text/LineToPDF.hs
@@ -34,7 +34,7 @@
 data AppConfig = forall a. MkAppConfig
     { pageWidth  :: Int
     , pageHeight :: Int
-    , ptSize     :: Int
+    , ptSize     :: Float
     , language   :: Language
     , srcLines   :: [a]
     , srcPut     :: a -> IO ()
@@ -227,7 +227,7 @@
     pr$ "BT\n";
     pr$ "/F" ++ fontOf lang ++ " " ++ show pt ++ " Tf\n"
     pr$ "1 0 0 1 50 " ++ show (height - 40) ++ " Tm\n"
-    pr$ "12 TL\n"
+    pr$ show pt ++ " TL\n"
 
     return streamPos
 
