~alcinnz/fontconfig-pure

ref: 58198ed89ecc315519d91044bed43d4b0275e990 fontconfig-pure/Graphics/Text/Font/Choose/Weight.hs -rw-r--r-- 242 bytes
58198ed8 — Adrian Cochrane Refine FontConfig FreeType utility bindings, so it compiles & correct manages memory 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