~alcinnz/fontconfig-pure

ref: 2665872956400c7075f0481bdce577b1e1884fae fontconfig-pure/Graphics/Text/Font/Choose/Weight.hs -rw-r--r-- 391 bytes
26658729 — Adrian Cochrane Commit public API. 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