lights FAQ Forum github.com/luapower/freetype
freetype

2D Graphics
cairo
freetype
bitmap
color
boxblur WIP

freetype

freetype font engine


local freetype = require'freetype'

A ffi binding of FreeType 2.

screenshot

screenshot

API

Look at the bottom of the source file for method names for each object type. Use the demo and test files for usage examples.

Use the FreeType docs for knowledge about fonts and rasterization.

Binary

The included freetype binary is a stripped build of freetype. In particular, font formats other than ttf and cff are not supported. Also, the patent-encumbered LCD filtering is enabled, so it may well be illegal to use this binary in your country. If unsure, compile your own.


Last updated: 2 years ago | Edit on GitHub

Pkg type:Lua+ffi
Version: r2-37-g6d8040e
Last commit:
License: PD
Import ver: 2.5.0.1
Requires: luajit 
Required by: cairo  harfbuzz  cplayer  ui 

Top