~alcinnz/fontconfig-pure

ref: 6ebab16d8114460b35a7714ceed8d786e32374ae fontconfig-pure/Graphics/Text/Font/Choose/Weight.hs -rw-r--r-- 391 bytes
6ebab16d — Adrian Cochrane Transliterate FTFC into these FontConfig language bindings. 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