~alcinnz/fontconfig-pure

ref: b863f00dc226d2d60e49bf99c10cca78e58ba490 fontconfig-pure/Graphics/Text/Font/Choose/Weight.hs -rw-r--r-- 242 bytes
b863f00d — Adrian Cochrane Refine memory management of FontSets (until I've enabled FcConfig code). 2 years ago
                                                                                
24a77a5f Adrian Cochrane
1
2
3
4
5
6
7
module Graphics.Text.Font.Choose.Weight where

foreign import ccall "FcWeightFromOpenTypeDouble" weightFromOpenTypeDouble ::
    Double -> Double
foreign import ccall "FcWeightToOpenTypeDouble" weightToOpenTypeDouble ::
    Double -> Double