The API index lists the nine types cl-harfbuzz now exports, and each
page that describes their values names them: direction, cluster-level
and buffer-flag on Shaping, font-source on Faces, glyph-index and
metric on Fonts and metrics, name-id and layout-table on OpenType
data, and color on Color glyphs. Installation says which names a
package that uses cl-harfbuzz together with cl-ft2, cl-svgread or
cl-harfbuzz/ffi must shadow.
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.