AtlatestRenderedmarkdown
sigil-harfbuzz / treeREADME.md
Readme
sigil-harfbuzz
HarfBuzz text shaping FFI bindings for Sigil.
Features
- Buffer creation and lifecycle management
- Text shaping with HarfBuzz
- Script and language tag helpers
- Glyph info and position access
- Segment property guessing
Usage
(import (sigil ffi)
(freetype)
(harfbuzz))
;; Create a HarfBuzz buffer and shape text
(let ((buf (hb-buffer-create)))
(hb-buffer-add-utf8 buf "Hello")
(hb-buffer-guess-segment-properties buf)
;; Shape with a font...
(hb-buffer-destroy buf))Dependencies
- sigil-stdlib
- sigil-ffi
- sigil-freetype
Requires HarfBuzz system library (libharfbuzz).
System Prerequisites
Development
sigil deps install
sigil build
sigil testLicense
BSD-3-Clause