Version0.7.0Verifiednot yet verifiedLicenseBSD-3-Clause
Readme
sigil-freetype
FreeType font loading FFI bindings for Sigil.
Features
- FreeType library initialization and cleanup
- Font face loading from file paths
- Character size and pixel size configuration
- Glyph loading and metrics access
- Character index lookup
Usage
(import (sigil ffi)
(freetype))
(let* ((lib (ft-init-freetype))
(face (ft-new-face lib "/path/to/font.ttf" 0)))
(ft-set-pixel-sizes face 0 24)
(ft-load-char face 65 FT_LOAD_RENDER)
;; Access glyph metrics...
(ft-done-face face)
(ft-done-freetype lib))Dependencies
- sigil-stdlib
- sigil-ffi
Requires FreeType system library (libfreetype).
System Prerequisites
- FreeType (
libfreetype)
Development
sigil deps install
sigil build
sigil testLicense
BSD-3-Clause
Clone
$ git clone https://codeberg.org/sigil/sigil-freetype
Releases
v0.8.0 — latest by version, released 29 Mar 2026
All releases — 2 tags in this repository.
Source
One page per file, and every line has a permalink.
Recent commitsAtom
1 Aprcommit
29 Marcommit
Pin dependencies to version tags
65f35b15
29 Marcommit
43d6c341
29 Marcommit
605f401f
16 Marcommit
2 Marcommit
The last 20 commits keep a page here. Everything older lives in the clone.