~alcinnz/fontconfig-pure

ref: fcf1e371e4a7d55b5ae07b90172502bc1d3e8064 fontconfig-pure/Graphics/Text/Font/Choose/Init.hs -rw-r--r-- 641 bytes
fcf1e371 — Adrian Cochrane Remove file utility & throw memory exceptions for String utilities. 2 years ago
                                                                                
e21707cb Adrian Cochrane
64bcb432 Adrian Cochrane
e21707cb Adrian Cochrane
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
module Graphics.Text.Font.Choose.Init ({-Config, initLoadConfig, initLoadConfigAndFonts, -}
    init, fini, reinit, bringUptoDate, version) where

import Prelude hiding (init)

import Graphics.Text.Font.Choose.Config

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