~alcinnz/fontconfig-pure

ref: cc3a295f967085e59ef0ac3ff76cc103f8a710e7 fontconfig-pure/Main.hs -rw-r--r-- 350 bytes
cc3a295f — Adrian Cochrane Break infinite loop decoding patterns from C. 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{-# LANGUAGE PackageImports #-}
module Main where

import "fontconfig-pure" Graphics.Text.Font.Choose as Font

import System.Environment (getArgs)

main :: IO ()
main = do
    args <- getArgs
    let (name, objects) = case args of {
        [] -> ("serif", []);
        name:objects -> (name, objects)}
    let query = nameParse name
    print query