flaw-font-0.1.0.0

LicenseMIT
Safe HaskellNone
LanguageHaskell2010

Flaw.Graphics.Font

Description

 
Synopsis

Documentation

class FontShaper a where Source #

Methods

shapeText :: a -> [Text] -> FontScript -> IO [(Vector ShapedGlyph, Float2)] Source #

Shape multiple text parts and return lists of glyphs (position, glyph index) with final positions.

newtype FontScript Source #

Font script. Contains 4-letter script code (according to http://unicode.org/iso15924/iso15924-codes.html), big-endian encoded.

Constructors

FontScript Word32