Code Quality Rank: L2
Monthly Downloads: 37
Programming language: C
License: BSD 3-clause "New" or "Revised" License
Tags: Graphics    
Latest version: v0.1.1

freetype2 alternatives and similar packages

Based on the "Graphics" category.
Alternatively, view freetype2 alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of freetype2 or a related project?

Add another 'Graphics' Package



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_Error throws a FtError exception instead (defined in FreeType.Exception);
  • A lot of the functions are wrappers that automatically allocate memory so you do not have to alloca/peek/withCString constantly;
  • 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 *.Internal module;

There is also a separate freetype2-lens library.

Module structure

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.