~alcinnz/fontconfig-pure

ref: d87a046b2dba99d6142a85af6a126f9a9396b563 fontconfig-pure/Graphics/Text/Font/Choose.hs -rw-r--r-- 3.7 KiB
d87a046b — Adrian Cochrane Document FcLangSet language bindings. 2 years ago
                                                                                
26658729 Adrian Cochrane
c10cdcf2 Adrian Cochrane
26658729 Adrian Cochrane
df959ade Adrian Cochrane
c10cdcf2 Adrian Cochrane
26658729 Adrian Cochrane
c10cdcf2 Adrian Cochrane
26658729 Adrian Cochrane
df959ade Adrian Cochrane
26658729 Adrian Cochrane
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
module Graphics.Text.Font.Choose(CharSet, FontSet, ObjectSet, Pattern(..), Binding(..),
  Range(..), iRange, StrSet, StrList, Value(..),

  Config, configCreate,
  configSetCurrent, configGetCurrent, configUptoDate, configHome, configEnableHome,
  configBuildFonts, configBuildFonts', configGetConfigDirs, configGetConfigDirs',
  configGetFontDirs, configGetFontDirs', configGetConfigFiles, configGetConfigFiles',
  configGetCacheDirs, configGetCacheDirs', SetName(..), configGetFonts, configGetFonts',
  configGetRescanInterval,configGetRescanInterval', configAppFontClear,configAppFontClear',
  configAppFontAddFile, configAppFontAddFile', configAppFontAddDir, configAppFontAddDir',
  MatchKind(..), configSubstituteWithPat, configSubstituteWithPat', fontList, fontList', 
  configSubstitute, configSubstitute', fontMatch, fontMatch', fontSort, fontSort',
  fontRenderPrepare, fontRenderPrepare', -- configGetFilename, configGetFilename',
  configParseAndLoad, configParseAndLoad', configGetSysRoot, configGetSysRoot',
  configParseAndLoadFromMemory, configParseAndLoadFromMemory',
  configSetSysRoot, configSetSysRoot', configGetFileInfo, configGetFileInfo',

  fontSetList, fontSetList', fontSetMatch, fontSetMatch', fontSetSort, fontSetSort',

  initLoadConfig, initLoadConfigAndFonts, init, fini, reinit, bringUptoDate, version,

  LangSet, defaultLangs, langs, langSetCompare, langNormalize, langCharSet,

  equalSubset, normalizePattern, filter, defaultSubstitute, nameParse, nameUnparse, format,
  setValue, setValues, unset, getValues, getValues', getValue, getValue', getValue0
    ) where

import Prelude hiding (init, filter)

import Graphics.Text.Font.Choose.CharSet (CharSet)
import Graphics.Text.Font.Choose.Config (Config, configCreate,
  configSetCurrent, configGetCurrent, configUptoDate, configHome, configEnableHome,
  configBuildFonts, configBuildFonts', configGetConfigDirs, configGetConfigDirs',
  configGetFontDirs, configGetFontDirs', configGetConfigFiles, configGetConfigFiles',
  configGetCacheDirs, configGetCacheDirs', SetName(..), configGetFonts, configGetFonts',
  configGetRescanInterval,configGetRescanInterval', configAppFontClear,configAppFontClear',
  configAppFontAddFile, configAppFontAddFile', configAppFontAddDir, configAppFontAddDir',
  MatchKind(..), configSubstituteWithPat, configSubstituteWithPat', fontList, fontList', 
  configSubstitute, configSubstitute', fontMatch, fontMatch', fontSort, fontSort',
  fontRenderPrepare, fontRenderPrepare', -- configGetFilename, configGetFilename',
  configParseAndLoad, configParseAndLoad', configGetSysRoot, configGetSysRoot',
  configParseAndLoadFromMemory, configParseAndLoadFromMemory',
  configSetSysRoot, configSetSysRoot', configGetFileInfo, configGetFileInfo')
import Graphics.Text.Font.Choose.FontSet (FontSet)
import Graphics.Text.Font.Choose.FontSet.API (fontSetList, fontSetList',
    fontSetMatch, fontSetMatch', fontSetSort, fontSetSort')
import Graphics.Text.Font.Choose.Init (initLoadConfig, initLoadConfigAndFonts,
    init, fini, reinit, bringUptoDate, version)
import Graphics.Text.Font.Choose.LangSet (LangSet, defaultLangs, langs,
    langSetCompare, langNormalize, langCharSet)
import Graphics.Text.Font.Choose.ObjectSet (ObjectSet)
import Graphics.Text.Font.Choose.Pattern (Pattern(..), Binding(..), equalSubset,
    normalizePattern, filter, defaultSubstitute, nameParse, nameUnparse, format,
    setValue, setValues, unset, getValues, getValues', getValue, getValue', getValue0)
import Graphics.Text.Font.Choose.Range (Range(..), iRange)
import Graphics.Text.Font.Choose.Strings (StrSet, StrList)
import Graphics.Text.Font.Choose.Value (Value(..))
import Graphics.Text.Font.Choose.Weight (weightFromOpenTypeDouble, weightToOpenTypeDouble,
    weightFromOpenType, weightToOpenType)