~alcinnz/fontconfig-pure

ref: fe82ac9733da3f4588c3a0bbd60af24fdf7429de fontconfig-pure/Graphics/Text/Font/Choose/Weight.hs -rw-r--r-- 391 bytes
fe82ac97 — Adrian Cochrane Catch one FcFontSet segfault. 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