FFI Layer
dxtr edited this page 2026-10-19 18:47:30 +02:00

Page revisions

6 Commits

Author SHA1 Message Date
31f3d29f64 List hb-script-from-iso15924-tag; setting a script allocates nothing 2026-10-19 18:47:30 +02:00
5e2f5a442c Follow cl-harfbuzz caefc79: declared types, no global nickname hb
cl-harfbuzz has no global nickname now, so the examples are written in
a package that gives it the local nickname hb, and cl-ft2 the nickname
ft2: Home, Installation, Getting started and the FreeType bridge show
it, the tour prints its objects as #<HB:FACE ...>, and the Cookbook
and the API index say so.  The systems load with asdf:load-system in
place of ql:quickload, from a stift checkout or a project that
requires cl-harfbuzz.

Errors says that a wrong argument signals its type-error in the
function it was passed to, a face where a font belongs among them, and
that SBCL warns at compile time about a wrong constant; the example
shows the report SBCL now gives.  Font scales and ppem are 32-bit
integers.  The FFI layer lists the enums hb-ot-name-id-predefined and
hb-ot-metrics-tag, and hb-ot-metrics-get-position takes the metric as
a keyword.  Development counts 48 tests and 328 checks, and its
conventions ask for the ftype, check-type and docstrings.
2026-10-18 15:21:04 +02:00
fd753a622c cl-harfbuzz calls HarfBuzz through cl-ffi, not cffi
Follows cl-harfbuzz 373e56e: the raw layer, its library and types are
cl-ffi's, the examples use cl-ffi's operators, and installation and
development list cl-ffi where cffi was.
2026-10-15 11:32:39 +02:00
794e8957c4 Follow the renames, font-only glyph functions and box-shaped FONT-GLYPH-EXTENTS 2026-10-11 21:06:37 +02:00
8937089178 Document FONT-FACE, locale-independent GUESS-SEGMENT-PROPERTIES and WOFF reporting 2026-10-11 20:38:21 +02:00
c6de2b0793 Add Cookbook, Scope and Limitations, Development, FFI Layer and API Index; fix bridge links 2026-10-11 20:28:01 +02:00