diff --git a/Data/Text/Glyphize/Font.hs b/Data/Text/Glyphize/Font.hs
--- a/Data/Text/Glyphize/Font.hs
+++ b/Data/Text/Glyphize/Font.hs
@@ -660,11 +660,11 @@
 fontScale font = unsafePerformIO $
     withForeignPtr font $ \font' -> alloca $ \x' -> alloca $ \y' -> do
         hb_font_get_scale font' x' y'
-        x <- peek x'
-        y <- peek y'
-        return (x, y)
+        x <- peek x' :: IO Int32
+        y <- peek y' :: IO Int32
+        return (fromEnum x, fromEnum y)
 foreign import ccall "hb_font_get_scale" hb_font_get_scale
-    :: Font_ -> Ptr Int -> Ptr Int -> IO ()
+    :: Font_ -> Ptr Int32 -> Ptr Int32 -> IO ()
 
 -- | Fetches the "synthetic slant" of a font.
 fontSyntheticSlant :: Font -> Float
diff --git a/harfbuzz-pure.cabal b/harfbuzz-pure.cabal
--- a/harfbuzz-pure.cabal
+++ b/harfbuzz-pure.cabal
@@ -10,7 +10,7 @@
 -- PVP summary:      +-+------- breaking API changes
 --                   | | +----- non-breaking API additions
 --                   | | | +--- code changes with no API change
-version:             1.0.3.1
+version:             1.0.3.2
 
 -- A short (one-line) description of the package.
 synopsis:            Pure-functional Harfbuzz language bindings
@@ -66,7 +66,7 @@
   -- other-extensions:    
   
   -- Other library packages from which modules are imported.
-  build-depends:       base >=4.12 && <4.16, text >= 2.0 && < 3,
+  build-depends:       base >=4.12 && <5, text >= 2.0 && < 3,
                        bytestring >= 0.11, freetype2 >= 0.2, derive-storable >= 0.3 && < 1
   pkgconfig-depends:   harfbuzz >= 3.3
   
