~alcinnz/harfbuzz-pure

ref: 144c40dbf48c165643a343436bc7b1a36d404a26 harfbuzz-pure/Main.hs -rw-r--r-- 286 bytes
144c40db — Adrian Cochrane Try wrapping HarfBuzz C++ functions in C functions for calling convention/linking issues. 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
{-# LANGUAGE PackageImports #-}
module Main where

import "harfbuzz-pure" Data.Text.Glyphize
import "harfbuzz-pure" Data.Text.Glyphize.Buffer

main :: IO ()
main = do
    buf' <- freeze' defaultBuffer
    -- buf <- thaw' buf'
    print "Hello, world"
    -- TODO test I can shape text!