Bindings to the FreeType2 C library (version 2.10.1 as of when this was edited), following the API reference
These are mostly raw with a few key changes:
- Every function that returns a
FT_Errorthrows aFtErrorexception instead (defined inFreeType.Exception); - A lot of the functions are wrappers that automatically allocate memory
so you do not have to
alloca/peek/withCStringconstantly; - Deprecated values that are simply synonyms to other values are omitted;
- Field names are prefixed, so none of them overlap;
- Every function that was modified by this library has a raw counterpart
in a matching
*.Internalmodule;
This package reexports the
Foreign.Storable.Offset
module and implements the Offset instance for all the datatypes.
Alas Haddock currently does not show this (as per haddock#563).
The whole package copies the API structure.
FreeType - FreeType
βββ Core API
β βββ FreeType Version - FreeType.Core.Version
β βββ Basic Data Types - FreeType.Core.Types
β βββ Base Interface - FreeType.Core.Base
β βββ Unicode Variation Sequences - FreeType.Core.Unicode
β βββ Glyph Color Management - FreeType.Core.Color
β βββ Glyph Layer Management - FreeType.Core.Layer
β βββ Glyph Management - FreeType.Core.Glyph
β βββ Mac Specific Interface - FreeType.Core.Mac
β βββ Header File Macros - FreeType.Core.Size
βββ Format-specific API
β βββ Multiple Masters - FreeType.Format.Multiple
β βββ TrueType Tables - FreeType.Format.TrueType
β βββ Type 1 Tables - FreeType.Format.Type1
β βββ SFNT Names - FreeType.Format.SFNT
β βββ BDF and PCF Fonts - FreeType.Format.BDF
β βββ CID Fonts - FreeType.Format.CID
β βββ PFR Fonts - FreeType.Format.PFR
β βββ Window FNT Files - FreeType.Format.WinFNT
β βββ Font Formats - FreeType.Format.Font
β βββ Gasp Tables - FreeType.Format.Gasp
βββ Controlling FreeType modules
β βββ Driver properties - FreeType.Control.Driver
β βββ Parameter Tags - FreeType.Control.Parameter
β βββ Subpixel Rendering - FreeType.Control.Subpixel
βββ Cache Sub-System
β βββ Cache Sub-System - FreeType.Cache
βββ Support API
β βββ Computations - FreeType.Support.Computations
β βββ List Processing - FreeType.Support.List
β βββ Outline Processing - FreeType.Support.Bitmap
β βββ Quick retrieval of advance values - FreeType.Support.Outline
β βββ Bitmap Handling - FreeType.Support.Scanline
β βββ Scanline Converter - FreeType.Support.Advance
β βββ Glyph Stroker - FreeType.Support.Glyph
β βββ System Interface - FreeType.Support.System
β βββ Module Management - FreeType.Support.Module
β βββ GZIP Streams - FreeType.Support.GZIP
β βββ LZQ Streams - FreeType.Support.LZW
β βββ BZIP2 Streams - FreeType.Support.BZIP2
βββ Error Codes
β βββ Error Enumerations - FreeType.Error.Enumerations
β βββ Error Values - FreeType.Error.Values
βββ Miscellaneous
βββ OpenType Validation - FreeType.Miscellaneous.OpenType
βββ Incremental Loading - FreeType.Miscellaneous.Incremental
βββ The TrueType Engine - FreeType.Miscellaneous.TrueType
βββ TrueTypeGX/AAT Validation - FreeType.Miscellaneous.TrueTypeGX
Some bindings are bound to have errors in them, feel free to report them through Github.