From b7237c86d9498b423bae711a43c0b1c257c57403 Mon Sep 17 00:00:00 2001 From: Adrian Cochrane Date: Fri, 11 Feb 2022 16:10:33 +1300 Subject: [PATCH] Design FreeType2 integration. --- Data/Text/Glyphize/Font.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Data/Text/Glyphize/Font.hs b/Data/Text/Glyphize/Font.hs index 3bb12b3..4616fae 100644 --- a/Data/Text/Glyphize/Font.hs +++ b/Data/Text/Glyphize/Font.hs @@ -7,6 +7,7 @@ data Face = Face -- TODO Define -- countFace :: ByteString -> Int -- createFace :: ByteString -> Int -> Face +-- ftCreateFace :: FT_Face -> Face -- emptyFace :: Face -- faceGlyphCount :: Face -> Int -- faceIndex :: Face -> Int @@ -23,6 +24,7 @@ data FontOptions = FontOptions { } -- createFont :: Face -> FontOptions -> Font +-- ftCreateFont ::FT_Face -> FontOptions -> Font -- emptyFont :: Font -- fontFace :: Font -> Face -- fontGlyph :: Font -> Char -> Maybe Char -> Maybe Int -- 2.30.2