Version0.7.0Verifiednot yet verifiedLicenseBSD-3-Clause

sigil-harfbuzz

HarfBuzz text shaping bindings for Sigil

Report a bug or suggest a feature
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

Requires HarfBuzz system library (libharfbuzz).

System Prerequisites

Development

sigil deps install
sigil build
sigil test

License

BSD-3-Clause

Clone

$ git clone https://codeberg.org/sigil/sigil-harfbuzz

Releases

v0.8.0 — latest by version, released 29 Mar 2026

All releases — 2 tags in this repository.

Source

Browse the latest source

One page per file, and every line has a permalink.

Recent commitsAtom

The last 20 commits keep a page here. Everything older lives in the clone.