~alcinnz/fontconfig-pure

ref: a327c852daa751de8d395ea1412b26ec6ff89a0f fontconfig-pure/Graphics/Text/Font/Choose/Weight.hs -rw-r--r-- 391 bytes
a327c852 — Adrian Cochrane Fix linking issues, still has issues decoding patterns. 2 years ago
                                                                                
1
2
3
4
5
6
7
8
module Graphics.Text.Font.Choose.Weight where

foreign import ccall "FcWeightFromOpenTypeDouble" weightFromOpenTypeDouble ::
    Double -> Double
foreign import ccall "FcWeightToOpenTypeDouble" weightToOpenTypeDouble ::
    Double -> Double
foreign import ccall "FcWeightFromOpenType" weightFromOpenType :: Int -> Int
foreign import ccall "FcWeightToOpenType" weightToOpenType :: Int -> Int