A dynamic binding to the FreeType library.


Keywords
library, binding, graphics
License
BSL-1.0
Install
dub fetch derelict-ft --version 2.0.0-beta.5

Documentation

DerelictFT

A dynamic binding to version 2.6 and 2.7 of the FreeType library for the D Programming Language.

Please see the DerelictFT documentation and the sections on Compiling and Linking and The Derelict Loader in the Derelict documentation for information on how to build DerelictFT and load FreeType at run time. In the meantime, here's some sample code.

import derelict.freetype;

// Alternatively:
// import derelict.freetype.ft;

void main() {
    // Load the FreeType library.
    DerelictFT.load();

    // Now FreeType functions can be called.
    ...
}