~alcinnz/fontconfig-pure

ref: 77762b284a375f7e9a862e31e68d7a4417278d5b fontconfig-pure/Graphics/Text/Font/Choose/Init.hs -rw-r--r-- 604 bytes
77762b28 — Adrian Cochrane Draft bindings for FcConfig! 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module Graphics.Text.Font.Choose.Init ({-Config, initLoadConfig, initLoadConfigAndFonts, -}
    init, fini, reinit, bringUptoDate, version) where

import Prelude hiding (init)

{-foreign import ccall "FcInitLoadConfig" initLoadConfig :: IO Config
foreign import ccall "FcInitLoadConfigAndFonts" initLoadConfigAndFonts :: IO Config-}

foreign import ccall "FcInit" init :: IO Bool
foreign import ccall "FcFini" fini :: IO ()
foreign import ccall "FcInitReinitialize" reinit :: IO Bool
foreign import ccall "FcInitBringUptoDate" bringUptoDate :: IO Bool

foreign import ccall "FcGetVersion" version :: Int