~alcinnz/harfbuzz-pure

ref: 728c810dc8f721d706ea80f2a07b39ca63d7872f harfbuzz-pure/Main.hs -rw-r--r-- 272 bytes
728c810d — Adrian Cochrane Fix build linking errors (mostly by upgrading GHC). 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 buf
    -- TODO test I can shape text!