cl-freetype2

API Reference

cl-freetype2

Wrapper for the Freetype2 library

FREETYPE2-TYPES

FreeType 2 types and type interface.  This is separate
to avoid requiring FREETYPE2-FFI imports.
  • Variable +VERSION-MAJOR+
    2
  • Variable +VERSION-MINOR+
    5
  • Variable +VERSION-PATCH+
    2
  • Cffi-Type SIZE_T
  • Cffi-Type FT-BYTE
  • Cffi-Type FT-BYTES
  • Cffi-Type FT-CHAR
  • Cffi-Type FT-INT
  • Cffi-Type FT-UINT
  • Cffi-Type FT-UINT16
  • Cffi-Type FT-INT32
  • Cffi-Type FT-UINT32
  • Cffi-Type FT-SHORT
  • Cffi-Type FT-USHORT
  • Cffi-Type FT-LONG
  • Cffi-Type FT-ULONG
  • Cffi-Type FT-BOOL
  • Cffi-Type FT-OFFSET
  • Cffi-Type FT-PTRDIST
  • Cffi-Type FT-STRING
  • Cffi-Type FT-TAG
  • Cffi-Type FT-FIXED
  • Cffi-Type FT-POS
  • Cffi-Type FT-FWORD
  • Cffi-Type FT-UFWORD
  • Cffi-Type FT-F2DOT14
  • Cffi-Type FT-F26DOT6
  • Cffi-Enum FT-GLYPH-FORMAT
  • Cffi-Enum FT-ENCODING
  • Cffi-Enum FT-SIZE-REQUEST-TYPE
  • Cffi-Enum FT-RENDER-MODE
  • Cffi-Enum FT-KERNING-MODE
  • Cffi-Enum FT-ERROR
  • Cffi-Function LIBC-CALLOC
  • Function LIBC-CALLOC (nmemb size)
  • Cffi-Function LIBC-FREE
  • Function LIBC-FREE (ptr)
  • Function FINALIZE (object function)
  • Function FW-PTR (instance)
  • Function (setf FW-PTR) (value instance)
  • Function W* (wrapper)
  • Function W[] (wrapper index type-cast)
  • Function P* (ptr &optional (type-cast :pointer))
  • Function & (wrapper)
  • Macro MAKE-WRAPPER ((handle-var ptr-var foreign-type &optional (foreign-name (make-foreign-name (symbol-name foreign-type)))) init-form free-form)
  • Cffi-Bitfield FT-LOAD-FLAGS
  • Cffi-Bitfield FT-FACE-FLAGS
  • Cffi-Bitfield FT-STYLE-FLAGS
  • Cffi-Bitfield FT-FSTYPE-FLAGS
  • Cffi-Bitfield FT-OUTLINE-FLAGS
  • Cffi-Bitfield FT-OPEN-FLAGS
  • Cffi-Enum FT-PIXEL-MODE
  • Cffi-Enum FT-GLYPH-BBOX-MODE
  • Cffi-Enum FT-ORIENTATION
  • Class FT-POINTER-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-POINTER
  • Struct FT-POINTER
    No slots.
  • Function %MAKE-FT-POINTER (&key ((ptr ptr) (null-pointer)))
  • Class FT-VECTOR-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Struct FOREIGN-FT-VECTOR
  • Struct FT-VECTOR
    No slots.
  • Function %MAKE-FT-VECTOR (&key ((ptr ptr) (null-pointer)))
  • Function FT-VECTOR-X (instance)
  • Function (setf FT-VECTOR-X) (v instance)
  • Function FT-VECTOR-Y (instance)
  • Function (setf FT-VECTOR-Y) (v instance)
  • Class FT-BBOX-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Struct FOREIGN-FT-BBOX
  • Struct FT-BBOX
    No slots.
  • Function %MAKE-FT-BBOX (&key ((ptr ptr) (null-pointer)))
  • Function FT-BBOX-XMIN (instance)
  • Function (setf FT-BBOX-XMIN) (v instance)
  • Function FT-BBOX-YMIN (instance)
  • Function (setf FT-BBOX-YMIN) (v instance)
  • Function FT-BBOX-XMAX (instance)
  • Function (setf FT-BBOX-XMAX) (v instance)
  • Function FT-BBOX-YMAX (instance)
  • Function (setf FT-BBOX-YMAX) (v instance)
  • Class FT-MATRIX-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Struct FOREIGN-FT-MATRIX
  • Struct FT-MATRIX
    No slots.
  • Function %MAKE-FT-MATRIX (&key ((ptr ptr) (null-pointer)))
  • Function FT-MATRIX-XX (instance)
  • Function (setf FT-MATRIX-XX) (v instance)
  • Function FT-MATRIX-XY (instance)
  • Function (setf FT-MATRIX-XY) (v instance)
  • Function FT-MATRIX-YX (instance)
  • Function (setf FT-MATRIX-YX) (v instance)
  • Function FT-MATRIX-YY (instance)
  • Function (setf FT-MATRIX-YY) (v instance)
  • Class FT-UNITVECTOR-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Struct FOREIGN-FT-UNITVECTOR
  • Struct FT-UNITVECTOR
    No slots.
  • Function %MAKE-FT-UNITVECTOR (&key ((ptr ptr) (null-pointer)))
  • Function FT-UNITVECTOR-X (instance)
  • Function (setf FT-UNITVECTOR-X) (v instance)
  • Function FT-UNITVECTOR-Y (instance)
  • Function (setf FT-UNITVECTOR-Y) (v instance)
  • Class FT-BITMAP-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Struct FOREIGN-FT-BITMAP
  • Struct FT-BITMAP
    No slots.
  • Function %MAKE-FT-BITMAP (&key ((ptr ptr) (null-pointer)))
  • Function FT-BITMAP-ROWS (instance)
  • Function (setf FT-BITMAP-ROWS) (v instance)
  • Function FT-BITMAP-WIDTH (instance)
  • Function (setf FT-BITMAP-WIDTH) (v instance)
  • Function FT-BITMAP-PITCH (instance)
  • Function (setf FT-BITMAP-PITCH) (v instance)
  • Function FT-BITMAP-BUFFER (instance)
  • Function (setf FT-BITMAP-BUFFER) (v instance)
  • Function FT-BITMAP-NUM-GRAYS (instance)
  • Function (setf FT-BITMAP-NUM-GRAYS) (v instance)
  • Function FT-BITMAP-PIXEL-MODE (instance)
  • Function (setf FT-BITMAP-PIXEL-MODE) (v instance)
  • Function FT-BITMAP-PALETTE-MODE (instance)
  • Function (setf FT-BITMAP-PALETTE-MODE) (v instance)
  • Function FT-BITMAP-PALETTE (instance)
  • Function (setf FT-BITMAP-PALETTE) (v instance)
  • Class FT-DATA-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Struct FOREIGN-FT-DATA
  • Struct FT-DATA
    No slots.
  • Function %MAKE-FT-DATA (&key ((ptr ptr) (null-pointer)))
  • Function FT-DATA-POINTER (instance)
  • Function (setf FT-DATA-POINTER) (v instance)
  • Function FT-DATA-LENGTH (instance)
  • Function (setf FT-DATA-LENGTH) (v instance)
  • Class FT-GENERIC-FINALIZER-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-GENERIC-FINALIZER
  • Struct FT-GENERIC-FINALIZER
    No slots.
  • Function %MAKE-FT-GENERIC-FINALIZER (&key ((ptr ptr) (null-pointer)))
  • Class FT-GENERIC-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Struct FOREIGN-FT-GENERIC
  • Struct FT-GENERIC
    No slots.
  • Function %MAKE-FT-GENERIC (&key ((ptr ptr) (null-pointer)))
  • Function FT-GENERIC-DATA (instance)
  • Function (setf FT-GENERIC-DATA) (v instance)
  • Function FT-GENERIC-FINALIZER (instance)
  • Function (setf FT-GENERIC-FINALIZER) (v instance)
  • Class FT-MEMORY-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-MEMORY
  • Struct FT-MEMORY
    No slots.
  • Function %MAKE-FT-MEMORY (&key ((ptr ptr) (null-pointer)))
  • Class FT-ALLOC-FUNC-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-ALLOC-FUNC
  • Struct FT-ALLOC-FUNC
    No slots.
  • Function %MAKE-FT-ALLOC-FUNC (&key ((ptr ptr) (null-pointer)))
  • Class FT-FREE-FUNC-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-FREE-FUNC
  • Struct FT-FREE-FUNC
    No slots.
  • Function %MAKE-FT-FREE-FUNC (&key ((ptr ptr) (null-pointer)))
  • Class FT-REALLOC-FUNC-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-REALLOC-FUNC
  • Struct FT-REALLOC-FUNC
    No slots.
  • Function %MAKE-FT-REALLOC-FUNC (&key ((ptr ptr) (null-pointer)))
  • Class FT-MEMORYREC-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Struct FOREIGN-FT-MEMORYREC
  • Struct FT-MEMORYREC
    No slots.
  • Function %MAKE-FT-MEMORYREC (&key ((ptr ptr) (null-pointer)))
  • Function FT-MEMORYREC-USER (instance)
  • Function (setf FT-MEMORYREC-USER) (v instance)
  • Function FT-MEMORYREC-ALLOC (instance)
  • Function (setf FT-MEMORYREC-ALLOC) (v instance)
  • Function FT-MEMORYREC-FREE (instance)
  • Function (setf FT-MEMORYREC-FREE) (v instance)
  • Function FT-MEMORYREC-REALLOC (instance)
  • Function (setf FT-MEMORYREC-REALLOC) (v instance)
  • Function FT-MEMORY-USER (instance)
  • Function (setf FT-MEMORY-USER) (v instance)
  • Function FT-MEMORY-ALLOC (instance)
  • Function (setf FT-MEMORY-ALLOC) (v instance)
  • Function FT-MEMORY-FREE (instance)
  • Function (setf FT-MEMORY-FREE) (v instance)
  • Function FT-MEMORY-REALLOC (instance)
  • Function (setf FT-MEMORY-REALLOC) (v instance)
  • Class FT-STREAM-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-STREAM
  • Struct FT-STREAM
    No slots.
  • Function %MAKE-FT-STREAM (&key ((ptr ptr) (null-pointer)))
  • Class FT-STREAMDESC-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Struct FOREIGN-FT-STREAMDESC
  • Struct FT-STREAMDESC
    No slots.
  • Function %MAKE-FT-STREAMDESC (&key ((ptr ptr) (null-pointer)))
  • Function FT-STREAMDESC-VALUE (instance)
  • Function (setf FT-STREAMDESC-VALUE) (v instance)
  • Function FT-STREAMDESC-POINTER (instance)
  • Function (setf FT-STREAMDESC-POINTER) (v instance)
  • Class FT-STREAM-IOFUNC-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-STREAM-IOFUNC
  • Struct FT-STREAM-IOFUNC
    No slots.
  • Function %MAKE-FT-STREAM-IOFUNC (&key ((ptr ptr) (null-pointer)))
  • Class FT-STREAM-CLOSEFUNC-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-STREAM-CLOSEFUNC
  • Struct FT-STREAM-CLOSEFUNC
    No slots.
  • Function %MAKE-FT-STREAM-CLOSEFUNC (&key ((ptr ptr) (null-pointer)))
  • Class FT-STREAMREC-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Struct FOREIGN-FT-STREAMREC
  • Struct FT-STREAMREC
    No slots.
  • Function %MAKE-FT-STREAMREC (&key ((ptr ptr) (null-pointer)))
  • Function FT-STREAMREC-BASE (instance)
  • Function (setf FT-STREAMREC-BASE) (v instance)
  • Function FT-STREAMREC-SIZE (instance)
  • Function (setf FT-STREAMREC-SIZE) (v instance)
  • Function FT-STREAMREC-POS (instance)
  • Function (setf FT-STREAMREC-POS) (v instance)
  • Function FT-STREAMREC-DESCRIPTOR (instance)
  • Function (setf FT-STREAMREC-DESCRIPTOR) (v instance)
  • Function FT-STREAMREC-PATHNAME (instance)
  • Function (setf FT-STREAMREC-PATHNAME) (v instance)
  • Function FT-STREAMREC-READ (instance)
  • Function (setf FT-STREAMREC-READ) (v instance)
  • Function FT-STREAMREC-CLOSE (instance)
  • Function (setf FT-STREAMREC-CLOSE) (v instance)
  • Function FT-STREAMREC-MEMORY (instance)
  • Function (setf FT-STREAMREC-MEMORY) (v instance)
  • Function FT-STREAMREC-CURSOR (instance)
  • Function (setf FT-STREAMREC-CURSOR) (v instance)
  • Function FT-STREAMREC-LIMIT (instance)
  • Function (setf FT-STREAMREC-LIMIT) (v instance)
  • Function FT-STREAM-BASE (instance)
  • Function (setf FT-STREAM-BASE) (v instance)
  • Function FT-STREAM-SIZE (instance)
  • Function (setf FT-STREAM-SIZE) (v instance)
  • Function FT-STREAM-POS (instance)
  • Function (setf FT-STREAM-POS) (v instance)
  • Function FT-STREAM-DESCRIPTOR (instance)
  • Function (setf FT-STREAM-DESCRIPTOR) (v instance)
  • Function FT-STREAM-PATHNAME (instance)
  • Function (setf FT-STREAM-PATHNAME) (v instance)
  • Function FT-STREAM-READ (instance)
  • Function (setf FT-STREAM-READ) (v instance)
  • Function FT-STREAM-CLOSE (instance)
  • Function (setf FT-STREAM-CLOSE) (v instance)
  • Function FT-STREAM-MEMORY (instance)
  • Function (setf FT-STREAM-MEMORY) (v instance)
  • Function FT-STREAM-CURSOR (instance)
  • Function (setf FT-STREAM-CURSOR) (v instance)
  • Function FT-STREAM-LIMIT (instance)
  • Function (setf FT-STREAM-LIMIT) (v instance)
  • Class FT-LIST-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-LIST
  • Struct FT-LIST
    No slots.
  • Function %MAKE-FT-LIST (&key ((ptr ptr) (null-pointer)))
  • Class FT-LISTNODE-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-LISTNODE
  • Struct FT-LISTNODE
    No slots.
  • Function %MAKE-FT-LISTNODE (&key ((ptr ptr) (null-pointer)))
  • Class FT-LISTREC-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Struct FOREIGN-FT-LISTREC
  • Struct FT-LISTREC
    No slots.
  • Function %MAKE-FT-LISTREC (&key ((ptr ptr) (null-pointer)))
  • Function FT-LISTREC-HEAD (instance)
  • Function (setf FT-LISTREC-HEAD) (v instance)
  • Function FT-LISTREC-TAIL (instance)
  • Function (setf FT-LISTREC-TAIL) (v instance)
  • Function FT-LIST-HEAD (instance)
  • Function (setf FT-LIST-HEAD) (v instance)
  • Function FT-LIST-TAIL (instance)
  • Function (setf FT-LIST-TAIL) (v instance)
  • Class FT-LISTNODEREC-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Struct FOREIGN-FT-LISTNODEREC
  • Struct FT-LISTNODEREC
    No slots.
  • Function %MAKE-FT-LISTNODEREC (&key ((ptr ptr) (null-pointer)))
  • Function FT-LISTNODEREC-PREV (instance)
  • Function (setf FT-LISTNODEREC-PREV) (v instance)
  • Function FT-LISTNODEREC-NEXT (instance)
  • Function (setf FT-LISTNODEREC-NEXT) (v instance)
  • Function FT-LISTNODEREC-DATA (instance)
  • Function (setf FT-LISTNODEREC-DATA) (v instance)
  • Function FT-LISTNODE-PREV (instance)
  • Function (setf FT-LISTNODE-PREV) (v instance)
  • Function FT-LISTNODE-NEXT (instance)
  • Function (setf FT-LISTNODE-NEXT) (v instance)
  • Function FT-LISTNODE-DATA (instance)
  • Function (setf FT-LISTNODE-DATA) (v instance)
  • Class FT-LIST-ITERATOR-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-LIST-ITERATOR
  • Struct FT-LIST-ITERATOR
    No slots.
  • Function %MAKE-FT-LIST-ITERATOR (&key ((ptr ptr) (null-pointer)))
  • Class FT-LIST-DESTRUCTOR-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-LIST-DESTRUCTOR
  • Struct FT-LIST-DESTRUCTOR
    No slots.
  • Function %MAKE-FT-LIST-DESTRUCTOR (&key ((ptr ptr) (null-pointer)))
  • Class FT-OUTLINE-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Struct FOREIGN-FT-OUTLINE
  • Struct FT-OUTLINE
    No slots.
  • Function %MAKE-FT-OUTLINE (&key ((ptr ptr) (null-pointer)))
  • Function FT-OUTLINE-N-CONTOURS (instance)
  • Function (setf FT-OUTLINE-N-CONTOURS) (v instance)
  • Function FT-OUTLINE-N-POINTS (instance)
  • Function (setf FT-OUTLINE-N-POINTS) (v instance)
  • Function FT-OUTLINE-POINTS (instance)
  • Function (setf FT-OUTLINE-POINTS) (v instance)
  • Function FT-OUTLINE-TAGS (instance)
  • Function (setf FT-OUTLINE-TAGS) (v instance)
  • Function FT-OUTLINE-CONTOURS (instance)
  • Function (setf FT-OUTLINE-CONTOURS) (v instance)
  • Function FT-OUTLINE-FLAGS (instance)
  • Function (setf FT-OUTLINE-FLAGS) (v instance)
  • Macro FT-OUTLINE-FLAGS-TEST (instance flags)
  • Class FT-OUTLINE-FUNCS-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Struct FOREIGN-FT-OUTLINE-FUNCS
  • Struct FT-OUTLINE-FUNCS
    No slots.
  • Function %MAKE-FT-OUTLINE-FUNCS (&key ((ptr ptr) (null-pointer)))
  • Function FT-OUTLINE-FUNCS-MOVE-TO (instance)
  • Function (setf FT-OUTLINE-FUNCS-MOVE-TO) (v instance)
  • Function FT-OUTLINE-FUNCS-LINE-TO (instance)
  • Function (setf FT-OUTLINE-FUNCS-LINE-TO) (v instance)
  • Function FT-OUTLINE-FUNCS-CONIC-TO (instance)
  • Function (setf FT-OUTLINE-FUNCS-CONIC-TO) (v instance)
  • Function FT-OUTLINE-FUNCS-CUBIC-TO (instance)
  • Function (setf FT-OUTLINE-FUNCS-CUBIC-TO) (v instance)
  • Function FT-OUTLINE-FUNCS-SHIFT (instance)
  • Function (setf FT-OUTLINE-FUNCS-SHIFT) (v instance)
  • Function FT-OUTLINE-FUNCS-DELTA (instance)
  • Function (setf FT-OUTLINE-FUNCS-DELTA) (v instance)
  • Class FT-LIBRARY-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-LIBRARY
  • Struct FT-LIBRARY
    No slots.
  • Function %MAKE-FT-LIBRARY (&key ((ptr ptr) (null-pointer)))
  • Class FT-FACE-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-FACE
  • Struct FT-FACE
    No slots.
  • Function %MAKE-FT-FACE (&key ((ptr ptr) (null-pointer)))
  • Class FT-SIZE-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-SIZE
  • Struct FT-SIZE
    No slots.
  • Function %MAKE-FT-SIZE (&key ((ptr ptr) (null-pointer)))
  • Class FT-GLYPHSLOT-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-GLYPHSLOT
  • Struct FT-GLYPHSLOT
    No slots.
  • Function %MAKE-FT-GLYPHSLOT (&key ((ptr ptr) (null-pointer)))
  • Class FT-CHARMAP-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-CHARMAP
  • Struct FT-CHARMAP
    No slots.
  • Function %MAKE-FT-CHARMAP (&key ((ptr ptr) (null-pointer)))
  • Class FT-MODULE-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-MODULE
  • Struct FT-MODULE
    No slots.
  • Function %MAKE-FT-MODULE (&key ((ptr ptr) (null-pointer)))
  • Class FT-DRIVER-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-DRIVER
  • Struct FT-DRIVER
    No slots.
  • Function %MAKE-FT-DRIVER (&key ((ptr ptr) (null-pointer)))
  • Class FT-RENDERER-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-RENDERER
  • Struct FT-RENDERER
    No slots.
  • Function %MAKE-FT-RENDERER (&key ((ptr ptr) (null-pointer)))
  • Class FT-FACE-INTERNAL-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-FACE-INTERNAL
  • Struct FT-FACE-INTERNAL
    No slots.
  • Function %MAKE-FT-FACE-INTERNAL (&key ((ptr ptr) (null-pointer)))
  • Class FT-SIZE-INTERNAL-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-SIZE-INTERNAL
  • Struct FT-SIZE-INTERNAL
    No slots.
  • Function %MAKE-FT-SIZE-INTERNAL (&key ((ptr ptr) (null-pointer)))
  • Class FT-SUBGLYPH-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-SUBGLYPH
  • Struct FT-SUBGLYPH
    No slots.
  • Function %MAKE-FT-SUBGLYPH (&key ((ptr ptr) (null-pointer)))
  • Class FT-SLOT-INTERNAL-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-SLOT-INTERNAL
  • Struct FT-SLOT-INTERNAL
    No slots.
  • Function %MAKE-FT-SLOT-INTERNAL (&key ((ptr ptr) (null-pointer)))
  • Class FT-SIZE-REQUEST-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-SIZE-REQUEST
  • Struct FT-SIZE-REQUEST
    No slots.
  • Function %MAKE-FT-SIZE-REQUEST (&key ((ptr ptr) (null-pointer)))
  • Class FT-GLYPH-METRICS-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Struct FOREIGN-FT-GLYPH-METRICS
  • Struct FT-GLYPH-METRICS
    No slots.
  • Function %MAKE-FT-GLYPH-METRICS (&key ((ptr ptr) (null-pointer)))
  • Function FT-GLYPH-METRICS-WIDTH (instance)
  • Function (setf FT-GLYPH-METRICS-WIDTH) (v instance)
  • Function FT-GLYPH-METRICS-HEIGHT (instance)
  • Function (setf FT-GLYPH-METRICS-HEIGHT) (v instance)
  • Function FT-GLYPH-METRICS-HORI-BEARING-X (instance)
  • Function (setf FT-GLYPH-METRICS-HORI-BEARING-X) (v instance)
  • Function FT-GLYPH-METRICS-HORI-BEARING-Y (instance)
  • Function (setf FT-GLYPH-METRICS-HORI-BEARING-Y) (v instance)
  • Function FT-GLYPH-METRICS-HORI-ADVANCE (instance)
  • Function (setf FT-GLYPH-METRICS-HORI-ADVANCE) (v instance)
  • Function FT-GLYPH-METRICS-VERT-BEARING-X (instance)
  • Function (setf FT-GLYPH-METRICS-VERT-BEARING-X) (v instance)
  • Function FT-GLYPH-METRICS-VERT-BEARING-Y (instance)
  • Function (setf FT-GLYPH-METRICS-VERT-BEARING-Y) (v instance)
  • Function FT-GLYPH-METRICS-VERT-ADVANCE (instance)
  • Function (setf FT-GLYPH-METRICS-VERT-ADVANCE) (v instance)
  • Class FT-BITMAP-SIZE-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Struct FOREIGN-FT-BITMAP-SIZE
  • Struct FT-BITMAP-SIZE
    No slots.
  • Function %MAKE-FT-BITMAP-SIZE (&key ((ptr ptr) (null-pointer)))
  • Function FT-BITMAP-SIZE-HEIGHT (instance)
  • Function (setf FT-BITMAP-SIZE-HEIGHT) (v instance)
  • Function FT-BITMAP-SIZE-WIDTH (instance)
  • Function (setf FT-BITMAP-SIZE-WIDTH) (v instance)
  • Function FT-BITMAP-SIZE-SIZE (instance)
  • Function (setf FT-BITMAP-SIZE-SIZE) (v instance)
  • Function FT-BITMAP-SIZE-X-PPEM (instance)
  • Function (setf FT-BITMAP-SIZE-X-PPEM) (v instance)
  • Function FT-BITMAP-SIZE-Y-PPEM (instance)
  • Function (setf FT-BITMAP-SIZE-Y-PPEM) (v instance)
  • Class FT-CHARMAPREC-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Struct FOREIGN-FT-CHARMAPREC
  • Struct FT-CHARMAPREC
    No slots.
  • Function %MAKE-FT-CHARMAPREC (&key ((ptr ptr) (null-pointer)))
  • Function FT-CHARMAPREC-FACE (instance)
  • Function (setf FT-CHARMAPREC-FACE) (v instance)
  • Function FT-CHARMAPREC-ENCODING (instance)
  • Function (setf FT-CHARMAPREC-ENCODING) (v instance)
  • Function FT-CHARMAPREC-PLATFORM-ID (instance)
  • Function (setf FT-CHARMAPREC-PLATFORM-ID) (v instance)
  • Function FT-CHARMAPREC-ENCODING-ID (instance)
  • Function (setf FT-CHARMAPREC-ENCODING-ID) (v instance)
  • Function FT-CHARMAP-FACE (instance)
  • Function (setf FT-CHARMAP-FACE) (v instance)
  • Function FT-CHARMAP-ENCODING (instance)
  • Function (setf FT-CHARMAP-ENCODING) (v instance)
  • Function FT-CHARMAP-PLATFORM-ID (instance)
  • Function (setf FT-CHARMAP-PLATFORM-ID) (v instance)
  • Function FT-CHARMAP-ENCODING-ID (instance)
  • Function (setf FT-CHARMAP-ENCODING-ID) (v instance)
  • Class FT-FACEREC-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Struct FOREIGN-FT-FACEREC
  • Struct FT-FACEREC
    No slots.
  • Function %MAKE-FT-FACEREC (&key ((ptr ptr) (null-pointer)))
  • Function FT-FACEREC-NUM-FACES (instance)
  • Function (setf FT-FACEREC-NUM-FACES) (v instance)
  • Function FT-FACEREC-FACE-INDEX (instance)
  • Function (setf FT-FACEREC-FACE-INDEX) (v instance)
  • Function FT-FACEREC-FACE-FLAGS (instance)
  • Function (setf FT-FACEREC-FACE-FLAGS) (v instance)
  • Macro FT-FACEREC-FACE-FLAGS-TEST (instance flags)
  • Function FT-FACEREC-STYLE-FLAGS (instance)
  • Function (setf FT-FACEREC-STYLE-FLAGS) (v instance)
  • Macro FT-FACEREC-STYLE-FLAGS-TEST (instance flags)
  • Function FT-FACEREC-NUM-GLYPHS (instance)
  • Function (setf FT-FACEREC-NUM-GLYPHS) (v instance)
  • Function FT-FACEREC-FAMILY-NAME (instance)
  • Function (setf FT-FACEREC-FAMILY-NAME) (v instance)
  • Function FT-FACEREC-STYLE-NAME (instance)
  • Function (setf FT-FACEREC-STYLE-NAME) (v instance)
  • Function FT-FACEREC-NUM-FIXED-SIZES (instance)
  • Function (setf FT-FACEREC-NUM-FIXED-SIZES) (v instance)
  • Function FT-FACEREC-AVAILABLE-SIZES (instance)
  • Function FT-FACEREC-NUM-CHARMAPS (instance)
  • Function (setf FT-FACEREC-NUM-CHARMAPS) (v instance)
  • Function FT-FACEREC-CHARMAPS (instance)
  • Function FT-FACEREC-GENERIC (instance)
  • Function (setf FT-FACEREC-GENERIC) (v instance)
  • Function FT-FACEREC-BBOX (instance)
  • Function (setf FT-FACEREC-BBOX) (v instance)
  • Function FT-FACEREC-UNITS-PER-EM (instance)
  • Function (setf FT-FACEREC-UNITS-PER-EM) (v instance)
  • Function FT-FACEREC-ASCENDER (instance)
  • Function (setf FT-FACEREC-ASCENDER) (v instance)
  • Function FT-FACEREC-DESCENDER (instance)
  • Function (setf FT-FACEREC-DESCENDER) (v instance)
  • Function FT-FACEREC-HEIGHT (instance)
  • Function (setf FT-FACEREC-HEIGHT) (v instance)
  • Function FT-FACEREC-MAX-ADVANCE-WIDTH (instance)
  • Function (setf FT-FACEREC-MAX-ADVANCE-WIDTH) (v instance)
  • Function FT-FACEREC-MAX-ADVANCE-HEIGHT (instance)
  • Function (setf FT-FACEREC-MAX-ADVANCE-HEIGHT) (v instance)
  • Function FT-FACEREC-UNDERLINE-POSITION (instance)
  • Function (setf FT-FACEREC-UNDERLINE-POSITION) (v instance)
  • Function FT-FACEREC-UNDERLINE-THICKNESS (instance)
  • Function (setf FT-FACEREC-UNDERLINE-THICKNESS) (v instance)
  • Function FT-FACEREC-GLYPH (instance)
  • Function (setf FT-FACEREC-GLYPH) (v instance)
  • Function FT-FACEREC-SIZE (instance)
  • Function (setf FT-FACEREC-SIZE) (v instance)
  • Function FT-FACEREC-CHARMAP (instance)
  • Function (setf FT-FACEREC-CHARMAP) (v instance)
  • Function FT-FACEREC-DRIVER (instance)
  • Function (setf FT-FACEREC-DRIVER) (v instance)
  • Function FT-FACEREC-MEMORY (instance)
  • Function (setf FT-FACEREC-MEMORY) (v instance)
  • Function FT-FACEREC-STREAM (instance)
  • Function (setf FT-FACEREC-STREAM) (v instance)
  • Function FT-FACEREC-SIZES-LIST (instance)
  • Function (setf FT-FACEREC-SIZES-LIST) (v instance)
  • Function FT-FACEREC-AUTOHINT (instance)
  • Function (setf FT-FACEREC-AUTOHINT) (v instance)
  • Function FT-FACEREC-EXTENSIONS (instance)
  • Function (setf FT-FACEREC-EXTENSIONS) (v instance)
  • Function FT-FACEREC-INTERNAL (instance)
  • Function (setf FT-FACEREC-INTERNAL) (v instance)
  • Function FT-FACE-NUM-FACES (instance)
  • Function (setf FT-FACE-NUM-FACES) (v instance)
  • Function FT-FACE-FACE-INDEX (instance)
  • Function (setf FT-FACE-FACE-INDEX) (v instance)
  • Function FT-FACE-FACE-FLAGS (instance)
  • Function (setf FT-FACE-FACE-FLAGS) (v instance)
  • Macro FT-FACE-FACE-FLAGS-TEST (instance flags)
  • Function FT-FACE-STYLE-FLAGS (instance)
  • Function (setf FT-FACE-STYLE-FLAGS) (v instance)
  • Macro FT-FACE-STYLE-FLAGS-TEST (instance flags)
  • Function FT-FACE-NUM-GLYPHS (instance)
  • Function (setf FT-FACE-NUM-GLYPHS) (v instance)
  • Function FT-FACE-FAMILY-NAME (instance)
  • Function (setf FT-FACE-FAMILY-NAME) (v instance)
  • Function FT-FACE-STYLE-NAME (instance)
  • Function (setf FT-FACE-STYLE-NAME) (v instance)
  • Function FT-FACE-NUM-FIXED-SIZES (instance)
  • Function (setf FT-FACE-NUM-FIXED-SIZES) (v instance)
  • Function FT-FACE-AVAILABLE-SIZES (instance)
  • Function FT-FACE-NUM-CHARMAPS (instance)
  • Function (setf FT-FACE-NUM-CHARMAPS) (v instance)
  • Function FT-FACE-CHARMAPS (instance)
  • Function FT-FACE-GENERIC (instance)
  • Function (setf FT-FACE-GENERIC) (v instance)
  • Function FT-FACE-BBOX (instance)
  • Function (setf FT-FACE-BBOX) (v instance)
  • Function FT-FACE-UNITS-PER-EM (instance)
  • Function (setf FT-FACE-UNITS-PER-EM) (v instance)
  • Function FT-FACE-ASCENDER (instance)
  • Function (setf FT-FACE-ASCENDER) (v instance)
  • Function FT-FACE-DESCENDER (instance)
  • Function (setf FT-FACE-DESCENDER) (v instance)
  • Function FT-FACE-HEIGHT (instance)
  • Function (setf FT-FACE-HEIGHT) (v instance)
  • Function FT-FACE-MAX-ADVANCE-WIDTH (instance)
  • Function (setf FT-FACE-MAX-ADVANCE-WIDTH) (v instance)
  • Function FT-FACE-MAX-ADVANCE-HEIGHT (instance)
  • Function (setf FT-FACE-MAX-ADVANCE-HEIGHT) (v instance)
  • Function FT-FACE-UNDERLINE-POSITION (instance)
  • Function (setf FT-FACE-UNDERLINE-POSITION) (v instance)
  • Function FT-FACE-UNDERLINE-THICKNESS (instance)
  • Function (setf FT-FACE-UNDERLINE-THICKNESS) (v instance)
  • Function FT-FACE-GLYPH (instance)
  • Function (setf FT-FACE-GLYPH) (v instance)
  • Function FT-FACE-SIZE (instance)
  • Function (setf FT-FACE-SIZE) (v instance)
  • Function FT-FACE-CHARMAP (instance)
  • Function (setf FT-FACE-CHARMAP) (v instance)
  • Function FT-FACE-DRIVER (instance)
  • Function (setf FT-FACE-DRIVER) (v instance)
  • Function FT-FACE-MEMORY (instance)
  • Function (setf FT-FACE-MEMORY) (v instance)
  • Function FT-FACE-STREAM (instance)
  • Function (setf FT-FACE-STREAM) (v instance)
  • Function FT-FACE-SIZES-LIST (instance)
  • Function (setf FT-FACE-SIZES-LIST) (v instance)
  • Function FT-FACE-AUTOHINT (instance)
  • Function (setf FT-FACE-AUTOHINT) (v instance)
  • Function FT-FACE-EXTENSIONS (instance)
  • Function (setf FT-FACE-EXTENSIONS) (v instance)
  • Function FT-FACE-INTERNAL (instance)
  • Function (setf FT-FACE-INTERNAL) (v instance)
  • Class FT-SIZE-METRICS-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Struct FOREIGN-FT-SIZE-METRICS
  • Struct FT-SIZE-METRICS
    No slots.
  • Function %MAKE-FT-SIZE-METRICS (&key ((ptr ptr) (null-pointer)))
  • Function FT-SIZE-METRICS-X-PPEM (instance)
  • Function (setf FT-SIZE-METRICS-X-PPEM) (v instance)
  • Function FT-SIZE-METRICS-Y-PPEM (instance)
  • Function (setf FT-SIZE-METRICS-Y-PPEM) (v instance)
  • Function FT-SIZE-METRICS-X-SCALE (instance)
  • Function (setf FT-SIZE-METRICS-X-SCALE) (v instance)
  • Function FT-SIZE-METRICS-Y-SCALE (instance)
  • Function (setf FT-SIZE-METRICS-Y-SCALE) (v instance)
  • Function FT-SIZE-METRICS-ASCENDER (instance)
  • Function (setf FT-SIZE-METRICS-ASCENDER) (v instance)
  • Function FT-SIZE-METRICS-DESCENDER (instance)
  • Function (setf FT-SIZE-METRICS-DESCENDER) (v instance)
  • Function FT-SIZE-METRICS-HEIGHT (instance)
  • Function (setf FT-SIZE-METRICS-HEIGHT) (v instance)
  • Function FT-SIZE-METRICS-MAX-ADVANCE (instance)
  • Function (setf FT-SIZE-METRICS-MAX-ADVANCE) (v instance)
  • Class FT-SIZEREC-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Struct FOREIGN-FT-SIZEREC
  • Struct FT-SIZEREC
    No slots.
  • Function %MAKE-FT-SIZEREC (&key ((ptr ptr) (null-pointer)))
  • Function FT-SIZEREC-FACE (instance)
  • Function (setf FT-SIZEREC-FACE) (v instance)
  • Function FT-SIZEREC-GENERIC (instance)
  • Function (setf FT-SIZEREC-GENERIC) (v instance)
  • Function FT-SIZEREC-METRICS (instance)
  • Function (setf FT-SIZEREC-METRICS) (v instance)
  • Function FT-SIZEREC-INTERNAL (instance)
  • Function (setf FT-SIZEREC-INTERNAL) (v instance)
  • Function FT-SIZE-FACE (instance)
  • Function (setf FT-SIZE-FACE) (v instance)
  • Function FT-SIZE-GENERIC (instance)
  • Function (setf FT-SIZE-GENERIC) (v instance)
  • Function FT-SIZE-METRICS (instance)
  • Function (setf FT-SIZE-METRICS) (v instance)
  • Function FT-SIZE-INTERNAL (instance)
  • Function (setf FT-SIZE-INTERNAL) (v instance)
  • Class FT-GLYPHSLOTREC-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Struct FOREIGN-FT-GLYPHSLOTREC
  • Struct FT-GLYPHSLOTREC
    No slots.
  • Function %MAKE-FT-GLYPHSLOTREC (&key ((ptr ptr) (null-pointer)))
  • Function FT-GLYPHSLOTREC-LIBRARY (instance)
  • Function (setf FT-GLYPHSLOTREC-LIBRARY) (v instance)
  • Function FT-GLYPHSLOTREC-FACE (instance)
  • Function (setf FT-GLYPHSLOTREC-FACE) (v instance)
  • Function FT-GLYPHSLOTREC-NEXT (instance)
  • Function (setf FT-GLYPHSLOTREC-NEXT) (v instance)
  • Function FT-GLYPHSLOTREC-RESERVED (instance)
  • Function (setf FT-GLYPHSLOTREC-RESERVED) (v instance)
  • Function FT-GLYPHSLOTREC-GENERIC (instance)
  • Function (setf FT-GLYPHSLOTREC-GENERIC) (v instance)
  • Function FT-GLYPHSLOTREC-METRICS (instance)
  • Function (setf FT-GLYPHSLOTREC-METRICS) (v instance)
  • Function FT-GLYPHSLOTREC-LINEAR-HORI-ADVANCE (instance)
  • Function (setf FT-GLYPHSLOTREC-LINEAR-HORI-ADVANCE) (v instance)
  • Function FT-GLYPHSLOTREC-LINEAR-VERT-ADVANCE (instance)
  • Function (setf FT-GLYPHSLOTREC-LINEAR-VERT-ADVANCE) (v instance)
  • Function FT-GLYPHSLOTREC-ADVANCE (instance)
  • Function (setf FT-GLYPHSLOTREC-ADVANCE) (v instance)
  • Function FT-GLYPHSLOTREC-FORMAT (instance)
  • Function (setf FT-GLYPHSLOTREC-FORMAT) (v instance)
  • Function FT-GLYPHSLOTREC-BITMAP (instance)
  • Function (setf FT-GLYPHSLOTREC-BITMAP) (v instance)
  • Function FT-GLYPHSLOTREC-BITMAP-LEFT (instance)
  • Function (setf FT-GLYPHSLOTREC-BITMAP-LEFT) (v instance)
  • Function FT-GLYPHSLOTREC-BITMAP-TOP (instance)
  • Function (setf FT-GLYPHSLOTREC-BITMAP-TOP) (v instance)
  • Function FT-GLYPHSLOTREC-OUTLINE (instance)
  • Function (setf FT-GLYPHSLOTREC-OUTLINE) (v instance)
  • Function FT-GLYPHSLOTREC-NUM-SUBGLYPHS (instance)
  • Function (setf FT-GLYPHSLOTREC-NUM-SUBGLYPHS) (v instance)
  • Function FT-GLYPHSLOTREC-SUBGLYPHS (instance)
  • Function (setf FT-GLYPHSLOTREC-SUBGLYPHS) (v instance)
  • Function FT-GLYPHSLOTREC-CONTROL-DATA (instance)
  • Function (setf FT-GLYPHSLOTREC-CONTROL-DATA) (v instance)
  • Function FT-GLYPHSLOTREC-CONTROL-LEN (instance)
  • Function (setf FT-GLYPHSLOTREC-CONTROL-LEN) (v instance)
  • Function FT-GLYPHSLOTREC-LSB-DELTA (instance)
  • Function (setf FT-GLYPHSLOTREC-LSB-DELTA) (v instance)
  • Function FT-GLYPHSLOTREC-RSB-DELTA (instance)
  • Function (setf FT-GLYPHSLOTREC-RSB-DELTA) (v instance)
  • Function FT-GLYPHSLOTREC-OTHER (instance)
  • Function (setf FT-GLYPHSLOTREC-OTHER) (v instance)
  • Function FT-GLYPHSLOTREC-INTERNAL (instance)
  • Function (setf FT-GLYPHSLOTREC-INTERNAL) (v instance)
  • Function FT-GLYPHSLOT-LIBRARY (instance)
  • Function (setf FT-GLYPHSLOT-LIBRARY) (v instance)
  • Function FT-GLYPHSLOT-FACE (instance)
  • Function (setf FT-GLYPHSLOT-FACE) (v instance)
  • Function FT-GLYPHSLOT-NEXT (instance)
  • Function (setf FT-GLYPHSLOT-NEXT) (v instance)
  • Function FT-GLYPHSLOT-RESERVED (instance)
  • Function (setf FT-GLYPHSLOT-RESERVED) (v instance)
  • Function FT-GLYPHSLOT-GENERIC (instance)
  • Function (setf FT-GLYPHSLOT-GENERIC) (v instance)
  • Function FT-GLYPHSLOT-METRICS (instance)
  • Function (setf FT-GLYPHSLOT-METRICS) (v instance)
  • Function FT-GLYPHSLOT-LINEAR-HORI-ADVANCE (instance)
  • Function (setf FT-GLYPHSLOT-LINEAR-HORI-ADVANCE) (v instance)
  • Function FT-GLYPHSLOT-LINEAR-VERT-ADVANCE (instance)
  • Function (setf FT-GLYPHSLOT-LINEAR-VERT-ADVANCE) (v instance)
  • Function FT-GLYPHSLOT-ADVANCE (instance)
  • Function (setf FT-GLYPHSLOT-ADVANCE) (v instance)
  • Function FT-GLYPHSLOT-FORMAT (instance)
  • Function (setf FT-GLYPHSLOT-FORMAT) (v instance)
  • Function FT-GLYPHSLOT-BITMAP (instance)
  • Function (setf FT-GLYPHSLOT-BITMAP) (v instance)
  • Function FT-GLYPHSLOT-BITMAP-LEFT (instance)
  • Function (setf FT-GLYPHSLOT-BITMAP-LEFT) (v instance)
  • Function FT-GLYPHSLOT-BITMAP-TOP (instance)
  • Function (setf FT-GLYPHSLOT-BITMAP-TOP) (v instance)
  • Function FT-GLYPHSLOT-OUTLINE (instance)
  • Function (setf FT-GLYPHSLOT-OUTLINE) (v instance)
  • Function FT-GLYPHSLOT-NUM-SUBGLYPHS (instance)
  • Function (setf FT-GLYPHSLOT-NUM-SUBGLYPHS) (v instance)
  • Function FT-GLYPHSLOT-SUBGLYPHS (instance)
  • Function (setf FT-GLYPHSLOT-SUBGLYPHS) (v instance)
  • Function FT-GLYPHSLOT-CONTROL-DATA (instance)
  • Function (setf FT-GLYPHSLOT-CONTROL-DATA) (v instance)
  • Function FT-GLYPHSLOT-CONTROL-LEN (instance)
  • Function (setf FT-GLYPHSLOT-CONTROL-LEN) (v instance)
  • Function FT-GLYPHSLOT-LSB-DELTA (instance)
  • Function (setf FT-GLYPHSLOT-LSB-DELTA) (v instance)
  • Function FT-GLYPHSLOT-RSB-DELTA (instance)
  • Function (setf FT-GLYPHSLOT-RSB-DELTA) (v instance)
  • Function FT-GLYPHSLOT-OTHER (instance)
  • Function (setf FT-GLYPHSLOT-OTHER) (v instance)
  • Function FT-GLYPHSLOT-INTERNAL (instance)
  • Function (setf FT-GLYPHSLOT-INTERNAL) (v instance)
  • Class FT-PARAMETER-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Struct FOREIGN-FT-PARAMETER
  • Struct FT-PARAMETER
    No slots.
  • Function %MAKE-FT-PARAMETER (&key ((ptr ptr) (null-pointer)))
  • Function FT-PARAMETER-TAG (instance)
  • Function (setf FT-PARAMETER-TAG) (v instance)
  • Function FT-PARAMETER-DATA (instance)
  • Function (setf FT-PARAMETER-DATA) (v instance)
  • Class FT-OPEN-ARGS-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Struct FOREIGN-FT-OPEN-ARGS
  • Struct FT-OPEN-ARGS
    No slots.
  • Function %MAKE-FT-OPEN-ARGS (&key ((ptr ptr) (null-pointer)))
  • Function FT-OPEN-ARGS-FLAGS (instance)
  • Function (setf FT-OPEN-ARGS-FLAGS) (v instance)
  • Macro FT-OPEN-ARGS-FLAGS-TEST (instance flags)
  • Function FT-OPEN-ARGS-MEMORY-BASE (instance)
  • Function (setf FT-OPEN-ARGS-MEMORY-BASE) (v instance)
  • Function FT-OPEN-ARGS-MEMORY-SIZE (instance)
  • Function (setf FT-OPEN-ARGS-MEMORY-SIZE) (v instance)
  • Function FT-OPEN-ARGS-PATHNAME (instance)
  • Function (setf FT-OPEN-ARGS-PATHNAME) (v instance)
  • Function FT-OPEN-ARGS-STREAM (instance)
  • Function (setf FT-OPEN-ARGS-STREAM) (v instance)
  • Function FT-OPEN-ARGS-DRIVER (instance)
  • Function (setf FT-OPEN-ARGS-DRIVER) (v instance)
  • Function FT-OPEN-ARGS-NUM-PARAMS (instance)
  • Function (setf FT-OPEN-ARGS-NUM-PARAMS) (v instance)
  • Function FT-OPEN-ARGS-PARAMS (instance)
  • Function (setf FT-OPEN-ARGS-PARAMS) (v instance)
  • Class FT-SIZE-REQUESTREC-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Struct FOREIGN-FT-SIZE-REQUESTREC
  • Struct FT-SIZE-REQUESTREC
    No slots.
  • Function %MAKE-FT-SIZE-REQUESTREC (&key ((ptr ptr) (null-pointer)))
  • Function FT-SIZE-REQUESTREC-TYPE (instance)
  • Function (setf FT-SIZE-REQUESTREC-TYPE) (v instance)
  • Function FT-SIZE-REQUESTREC-WIDTH (instance)
  • Function (setf FT-SIZE-REQUESTREC-WIDTH) (v instance)
  • Function FT-SIZE-REQUESTREC-HEIGHT (instance)
  • Function (setf FT-SIZE-REQUESTREC-HEIGHT) (v instance)
  • Function FT-SIZE-REQUESTREC-HORI-RESOLUTION (instance)
  • Function (setf FT-SIZE-REQUESTREC-HORI-RESOLUTION) (v instance)
  • Function FT-SIZE-REQUESTREC-VERT-RESOLUTION (instance)
  • Function (setf FT-SIZE-REQUESTREC-VERT-RESOLUTION) (v instance)
  • Function FT-SIZE-REQUEST-TYPE (instance)
  • Function (setf FT-SIZE-REQUEST-TYPE) (v instance)
  • Function FT-SIZE-REQUEST-WIDTH (instance)
  • Function (setf FT-SIZE-REQUEST-WIDTH) (v instance)
  • Function FT-SIZE-REQUEST-HEIGHT (instance)
  • Function (setf FT-SIZE-REQUEST-HEIGHT) (v instance)
  • Function FT-SIZE-REQUEST-HORI-RESOLUTION (instance)
  • Function (setf FT-SIZE-REQUEST-HORI-RESOLUTION) (v instance)
  • Function FT-SIZE-REQUEST-VERT-RESOLUTION (instance)
  • Function (setf FT-SIZE-REQUEST-VERT-RESOLUTION) (v instance)
  • Class FT-GLYPH-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-GLYPH
  • Struct FT-GLYPH
    No slots.
  • Function %MAKE-FT-GLYPH (&key ((ptr ptr) (null-pointer)))
  • Class FT-BITMAPGLYPH-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-BITMAPGLYPH
  • Struct FT-BITMAPGLYPH
    No slots.
  • Function %MAKE-FT-BITMAPGLYPH (&key ((ptr ptr) (null-pointer)))
  • Class FT-OUTLINEGLYPH-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Type FOREIGN-FT-OUTLINEGLYPH
  • Struct FT-OUTLINEGLYPH
    No slots.
  • Function %MAKE-FT-OUTLINEGLYPH (&key ((ptr ptr) (null-pointer)))
  • Class FT-GLYPHREC-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Struct FOREIGN-FT-GLYPHREC
  • Struct FT-GLYPHREC
    No slots.
  • Function %MAKE-FT-GLYPHREC (&key ((ptr ptr) (null-pointer)))
  • Function FT-GLYPHREC-LIBRARY (instance)
  • Function (setf FT-GLYPHREC-LIBRARY) (v instance)
  • Function FT-GLYPHREC-CLAZZ (instance)
  • Function (setf FT-GLYPHREC-CLAZZ) (v instance)
  • Function FT-GLYPHREC-FORMAT (instance)
  • Function (setf FT-GLYPHREC-FORMAT) (v instance)
  • Function FT-GLYPHREC-ADVANCE (instance)
  • Function (setf FT-GLYPHREC-ADVANCE) (v instance)
  • Function FT-GLYPH-LIBRARY (instance)
  • Function (setf FT-GLYPH-LIBRARY) (v instance)
  • Function FT-GLYPH-CLAZZ (instance)
  • Function (setf FT-GLYPH-CLAZZ) (v instance)
  • Function FT-GLYPH-FORMAT (instance)
  • Function (setf FT-GLYPH-FORMAT) (v instance)
  • Function FT-GLYPH-ADVANCE (instance)
  • Function (setf FT-GLYPH-ADVANCE) (v instance)
  • Class FT-BITMAPGLYPHREC-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Struct FOREIGN-FT-BITMAPGLYPHREC
  • Struct FT-BITMAPGLYPHREC
    No slots.
  • Function %MAKE-FT-BITMAPGLYPHREC (&key ((ptr ptr) (null-pointer)))
  • Function FT-BITMAPGLYPHREC-ROOT (instance)
  • Function (setf FT-BITMAPGLYPHREC-ROOT) (v instance)
  • Function FT-BITMAPGLYPHREC-LEFT (instance)
  • Function (setf FT-BITMAPGLYPHREC-LEFT) (v instance)
  • Function FT-BITMAPGLYPHREC-TOP (instance)
  • Function (setf FT-BITMAPGLYPHREC-TOP) (v instance)
  • Function FT-BITMAPGLYPHREC-BITMAP (instance)
  • Function (setf FT-BITMAPGLYPHREC-BITMAP) (v instance)
  • Function FT-BITMAPGLYPH-ROOT (instance)
  • Function (setf FT-BITMAPGLYPH-ROOT) (v instance)
  • Function FT-BITMAPGLYPH-LEFT (instance)
  • Function (setf FT-BITMAPGLYPH-LEFT) (v instance)
  • Function FT-BITMAPGLYPH-TOP (instance)
  • Function (setf FT-BITMAPGLYPH-TOP) (v instance)
  • Function FT-BITMAPGLYPH-BITMAP (instance)
  • Function (setf FT-BITMAPGLYPH-BITMAP) (v instance)
  • Class FT-OUTLINEGLYPHREC-CFFITYPE  (WRAPPED-CFFITYPE)
    No slots.
  • Cffi-Struct FOREIGN-FT-OUTLINEGLYPHREC
  • Struct FT-OUTLINEGLYPHREC
    No slots.
  • Function %MAKE-FT-OUTLINEGLYPHREC (&key ((ptr ptr) (null-pointer)))
  • Function FT-OUTLINEGLYPHREC-ROOT (instance)
  • Function (setf FT-OUTLINEGLYPHREC-ROOT) (v instance)
  • Function FT-OUTLINEGLYPHREC-OUTLINE (instance)
  • Function (setf FT-OUTLINEGLYPHREC-OUTLINE) (v instance)
  • Function FT-OUTLINEGLYPH-ROOT (instance)
  • Function (setf FT-OUTLINEGLYPH-ROOT) (v instance)
  • Function FT-OUTLINEGLYPH-OUTLINE (instance)
  • Function (setf FT-OUTLINEGLYPH-OUTLINE) (v instance)
  • Function MAKE-COLLECTED-FOREIGN (type &optional (foreign-name type) (alloc-fn 'libc-calloc) (free-fn 'libc-free))
  • Macro FT-ERROR (form &body cleanup)
    Handle the value of `FORM` as a freetype return; if the value is not `:OK`, raise an error, and run `CLEANUP`. Otherwise, take no further action.
  • Function MAKE-MATRIX (xx xy yx yy)
    Make an `FT-MATRIX` given `XX`, `XY`, `YX`, and `YY`. This may be passed directly to `SET-TRANSFORM`, and may be more efficient than converting from native forms.
  • Function MAKE-VECTOR (x y)
    Make an `FT-VECTOR` given `X` and `Y`. This may be passed directly to `SET-TRANSFORM`, and may be more efficient than converting from native forms.
  • Function CONVERT-MATRIX (matrix)
    Convert `MATRIX` into an `FT-MATRIX` pointer. If it is already an `FT-MATRIX`, simply return the pointer. Otherwise it may be specified as a 2x2 array or flat 4-element array. Specifying `NIL` will return (`NULL-POINTER`), which is also useful in some cases.
  • Function CONVERT-VECTOR (vector)
    Convert `VECTOR` into an `FT-VECTOR` pointer. If `VECTOR` is already an `FT-VECTOR`, simply return the address. Otherwise, `VECTOR` may be specified as a flat 2-dimensional array. Specifying `NIL` will return `(NULL-POINTER)`, which is also useful in some cases.
  • Function FT-26DOT6-TO-FLOAT (f)
    Convert an `FT_26dot6` to a native float.
  • Function FT-26DOT6-TO-INT (f)
    Convert an `FT_26dot6` to a native integer. This may be more efficient than truncating the value returned by `FT-26DOT6-TO-FLOAT`.
  • Function FT-16DOT16-TO-FLOAT (f)
    Convert an `FT_16dot16` to a native float.

FREETYPE2-FFI

Foreign Function definitions only.
  • Cffi-Function FT-LIBRARY-VERSION
  • Function FT-LIBRARY-VERSION (library amajor aminor apatch)
  • Cffi-Function FT-INIT-FREETYPE
  • Function FT-INIT-FREETYPE (library)
  • Cffi-Function FT-DONE-FREETYPE
  • Function FT-DONE-FREETYPE (library)
  • Cffi-Function FT-NEW-FACE
  • Function FT-NEW-FACE (library pathname face-index aface)
  • Cffi-Function FT-NEW-MEMORY-FACE
  • Function FT-NEW-MEMORY-FACE (library file-base file-size face-index aface)
  • Cffi-Function FT-OPEN-FACE
  • Function FT-OPEN-FACE (library args face-index face)
  • Cffi-Function ATTACH-FILE
  • Function ATTACH-FILE (face pathname)
  • Cffi-Function FT-REFERENCE-FACE
  • Function FT-REFERENCE-FACE (face)
  • Cffi-Function FT-DONE-FACE
  • Function FT-DONE-FACE (face)
  • Cffi-Function FT-SELECT-SIZE
  • Function FT-SELECT-SIZE (face strike-index)
  • Cffi-Function FT-REQUEST-SIZE
  • Function FT-REQUEST-SIZE (face req)
  • Cffi-Function FT-SET-CHAR-SIZE
  • Function FT-SET-CHAR-SIZE (face char-width char-height horz-resolution vert-resolution)
  • Cffi-Function FT-SET-PIXEL-SIZES
  • Function FT-SET-PIXEL-SIZES (face pixel-width pixel-height)
  • Cffi-Function FT-LOAD-GLYPH
  • Function FT-LOAD-GLYPH (face glyph-index load-flags)
  • Cffi-Function FT-SET-TRANSFORM
  • Function FT-SET-TRANSFORM (face matrix delta)
  • Cffi-Function FT-GET-KERNING
  • Function FT-GET-KERNING (face left-glyph right-glyph kern-mode akerning)
  • Cffi-Function FT-GET-TRACK-KERNING
  • Function FT-GET-TRACK-KERNING (face point-size degree akerning)
  • Cffi-Function FT-GET-GLYPH-NAME
  • Function FT-GET-GLYPH-NAME (face glyph-index buffer buffer-max)
  • Cffi-Function GET-POSTSCRIPT-NAME ((face ft-face))
    => name-string Get the PostScript name for the Type1 or TrueType font `FACE`.
  • Function GET-POSTSCRIPT-NAME (face)
    => name-string Get the PostScript name for the Type1 or TrueType font `FACE`.
  • Cffi-Function SELECT-CHARMAP
  • Function SELECT-CHARMAP (face encoding)
  • Cffi-Function FT-SET-CHARMAP
  • Function FT-SET-CHARMAP (face charmap)
  • Cffi-Function FT-GET-CHARMAP-INDEX
  • Function FT-GET-CHARMAP-INDEX (charmap)
  • Cffi-Function FT-GET-CHAR-INDEX
  • Function FT-GET-CHAR-INDEX (face charcode)
  • Cffi-Function FT-GET-FIRST-CHAR
  • Function FT-GET-FIRST-CHAR (face agindex)
  • Cffi-Function FT-GET-NEXT-CHAR
  • Function FT-GET-NEXT-CHAR (face char-code agindex)
  • Cffi-Function GET-NAME-INDEX ((face ft-face) (glyph-name string))
    => index Get the index for the glyph named `GLYPH-NAME` for `FACE`.
  • Function GET-NAME-INDEX (face glyph-name)
    => index Get the index for the glyph named `GLYPH-NAME` for `FACE`.
  • Cffi-Function GET-FSTYPE-FLAGS ((face ft-face))
    => flags Get the fsType flags for `FACE`.
  • Function GET-FSTYPE-FLAGS (face)
    => flags Get the fsType flags for `FACE`.
  • Cffi-Function FT-FACE-GETCHARVARIANTINDEX
  • Function FT-FACE-GETCHARVARIANTINDEX (face charcode variant-selector)
  • Cffi-Function FT-FACE-GETCHARVARIANTISDEFAULT
  • Function FT-FACE-GETCHARVARIANTISDEFAULT (face charcode variant-selector)
  • Cffi-Function FT-FACE-GETVARIANTSELECTORS
  • Function FT-FACE-GETVARIANTSELECTORS (face)
  • Cffi-Function FT-FACE-GETVARIANTSOFCHAR
  • Function FT-FACE-GETVARIANTSOFCHAR (face charcode)
  • Cffi-Function FT-FACE-GETCHARSOFVARIANT
  • Function FT-FACE-GETCHARSOFVARIANT (face variant-selector)
  • Cffi-Function FT-GET-ADVANCE
  • Function FT-GET-ADVANCE (face gindex load-flags padvance)
  • Cffi-Function FT-GET-ADVANCES
  • Function FT-GET-ADVANCES (face start count load-flags padvances)
  • Cffi-Function FT-RENDER-GLYPH
  • Function FT-RENDER-GLYPH (slot render-mode)
  • Cffi-Function FT-GET-SUBGLYPH-INFO
  • Function FT-GET-SUBGLYPH-INFO (glyph sub-index p-index p-flags p-arg1 p-arg2 p-transform)
  • Cffi-Function FT-GET-GLYPH
  • Function FT-GET-GLYPH (slot aglyph)
  • Cffi-Function FT-GLYPH-COPY
  • Function FT-GLYPH-COPY (source target)
  • Cffi-Function FT-GLYPH-TRANSFORM
  • Function FT-GLYPH-TRANSFORM (glyph matrix delta)
  • Cffi-Function FT-GLYPH-GET-CBOX
  • Function FT-GLYPH-GET-CBOX (glyph bbox-mode acbox)
  • Cffi-Function FT-GLYPH-TO-BITMAP
  • Function FT-GLYPH-TO-BITMAP (the-glyph render-mode origin destroy)
  • Cffi-Function FT-DONE-GLYPH
  • Function FT-DONE-GLYPH (glyph)
  • Cffi-Function FT-NEW-SIZE
  • Function FT-NEW-SIZE (face asize)
  • Cffi-Function FT-DONE-SIZE
  • Function FT-DONE-SIZE (size)
  • Cffi-Function FT-ACTIVATE-SIZE
  • Function FT-ACTIVATE-SIZE (size)
  • Cffi-Function FT-OUTLINE-NEW
  • Function FT-OUTLINE-NEW (library num-points num-contours anoutline)
  • Cffi-Function FT-OUTLINE-DONE
  • Function FT-OUTLINE-DONE (library outline)
  • Cffi-Function FT-OUTLINE-COPY
  • Function FT-OUTLINE-COPY (source target)
  • Cffi-Function FT-OUTLINE-TRANSLATE
  • Function FT-OUTLINE-TRANSLATE (outline x-offset y-offset)
  • Cffi-Function FT-OUTLINE-TRANSFORM
  • Function FT-OUTLINE-TRANSFORM (outline matrix)
  • Cffi-Function FT-OUTLINE-EMBOLDEN
  • Function FT-OUTLINE-EMBOLDEN (outline strength)
  • Cffi-Function FT-OUTLINE-REVERSE
  • Function FT-OUTLINE-REVERSE (outline)
  • Cffi-Function FT-OUTLINE-CHECK
  • Function FT-OUTLINE-CHECK (outline)
  • Cffi-Function FT-OUTLINE-GET-BBOX
  • Function FT-OUTLINE-GET-BBOX (outline abbox)
  • Cffi-Function FT-OUTLINE-DECOMPOSE
  • Function FT-OUTLINE-DECOMPOSE (outline func-interface user)
  • Cffi-Function FT-OUTLINE-GET-CBOX
  • Function FT-OUTLINE-GET-CBOX (outline acbox)
  • Cffi-Function FT-OUTLINE-GET-ORIENTATION
  • Function FT-OUTLINE-GET-ORIENTATION (outline)
  • Cffi-Function FT-BITMAP-NEW
  • Function FT-BITMAP-NEW (abitmap)
  • Cffi-Function FT-BITMAP-COPY
  • Function FT-BITMAP-COPY (library source target)
  • Cffi-Function FT-BITMAP-EMBOLDEN
  • Function FT-BITMAP-EMBOLDEN (library bitmap x-strength y-strength)
  • Cffi-Function FT-BITMAP-CONVERT
  • Function FT-BITMAP-CONVERT (library source target alignment)
  • Cffi-Function FT-GLYPHSLOT-OWN-BITMAP
  • Function FT-GLYPHSLOT-OWN-BITMAP (slot)
  • Cffi-Function FT-BITMAP-DONE
  • Function FT-BITMAP-DONE (library bitmap)

FREETYPE2

This is a general Freetype 2 wrapper for Common Lisp using CFFI.  It's
geared toward both using Freetype directly by providing a simplified
API, as well as providing access to the underlying C structures and
functions for use with other libraries which may also use Freetype.
  • Variable *LIBRARY*
    nil
    The default library handle. This is initialized when cl-freetype2 loads. No locking or other precautions are taken, so multithreaded code should take care to block or use separate instances.
  • Function FREETYPE-VERSION (&optional (library *library*))
    => version-major, version-minor, version-patch Return the version of the library according to `FT_Library_Version`. This may differ from the constants acquired at compile-time.
  • Function MAKE-FREETYPE
    => LIBRARY Create and initialize an `FT_Library` handle. This will warn if the library version differs from what cl-freetype2 was compiled with.
  • Function EXTRACT-FREETYPE (library)
    => LIBRARY When retrieving an `FT-LIBRARY` handle from an object, using the resulting wrapper is unsafe because it's dependent on the object. Instead, use `EXTRACT-FREETYPE` to create a separate version. Note that this does **not** make it safe to discard the original handle, only extract references to it.
  • Function CHECK-FONT-FILE (pathname &optional (library *library*))
    => NUM-FACES or NIL Verify `PATHNAME` is a supported format by calling `FT_Open_Face` with a negative face index. If the face is supported, return the number of faces in the file. Otherwise, NIL.
  • Function NEW-FACE (pathname &optional (index 0) (library *library*))
    Make a new `FT-FACE` from `PATHNAME`, optionally specifying `INDEX` as the face index.
  • Macro WITH-OPEN-FACE ((var pathname &optional (index 0) (library '*library*)) &body body)
    Make a new `FT-FACE` on the stack from `PATHNAME`, closing and freeing at the end of `BODY`
  • Function FIXED-FACE-P (face)
    => boolean Check if `FACE` is fixed-width according to its flags
  • Function SET-CHAR-SIZE (face char-width char-height horz-resolution vert-resolution)
    Set the size for `FACE` to `CHAR-WIDTH` and `CHAR-HEIGHT`, specified in 1/64 **points**. `HORZ-RESOLUTION` and `VERT-RESOLUTION` specify the DPI. If either `CHAR-WIDTH` or `CHAR-HEIGHT` are 0, the other value is used.
  • Function SET-PIXEL-SIZES (face pixel-width pixel-height)
    Set the size for `FACE` in **pixels** to `PIXEL-WIDTH` and `PIXEL-HEIGHT`. Especially useful for fixed-size bitmap fonts.
  • Function GET-CHAR-INDEX (face char-or-code)
    => index Get the index in `FACE` for `CHAR-OR-CODE`, which may be either a character, or an integer code.
  • Function LOAD-GLYPH (face glyph-index &optional (load-flags :default))
    Load a glyph in `FACE` for `GLYPH-INDEX`, optionally specifying `LOAD-FLAGS`. Note that this requires a *glyph index*. To directly load a character or code, use [`LOAD-CHAR`](#LOAD-CHAR).
  • Function LOAD-CHAR (face char-or-code &optional (load-flags :default))
    Load a glyph in `FACE` for `CHAR-OR-CODE`, optionally specifying `LOAD-FLAGS`. `CHAR-OR-CODE` may be specified as per [`GET-CHAR-INDEX`](#GET-CHAR-INDEX).
  • Function SET-TRANSFORM (face matrix delta)
    Set the tranformation matrix for `FACE` to `MATRIX`, a 2x2 transformation matrix specified as per [`CONVERT-MATRIX`](cl-freetype2-types.html#CONVERT-MATRIX), and `DELTA`, a translation vector specified as per [`CONVERT-VECTOR`](cl-freetype2-types.html#CONVERT-VECTOR).
  • Function GET-KERNING (face char1 char2 &optional mode)
    => kerning-float Get the kerning between `CHAR1` and `CHAR2` for `FACE`, optionally specifying the kerning mode `MODE`. By default this returns the kerning in *pixels*. If `MODE` is specified, an untranslated value is returned as per `FT`_Get_Kerning with the given flags.
  • Function GET-STRING-KERNING (face string &optional mode)
    => ARRAY Return an array of kerning values for each pair of characters in `STRING`, for `FACE`, optionally specifying the kerning mode `MODE`. The results are as per `GET-KERNING`.
  • Function GET-TRACK-KERNING (face point-size degree)
    => ARRAY Return the track kerning at `POINT-SIZE` for `FACE` given `DEGREE`. See the documentation for `FT_Get_Track_Kerning`. It seems that only a few Type 1 fonts use this.
  • Function GET-GLYPH-NAME (face char-or-code)
    => name-string Get the symbolic name and length in `FACE` for `CHAR-OR-CODE`.
  • Function GET-LOADED-ADVANCE (face vertical-p)
    => advance-float Get the glyph advance value in `FACE` for the already-loaded glyph. If `VERTICAL-P` is true, get the vertical advance, otherwise, get the horizontal advance.
  • Function GET-ADVANCE (face char-or-code &optional load-flags)
    => advance-float Get the advance in `FACE` for `CHAR-OR-CODE`, optionally specifying `LOAD-FLAGS`. This attempts to use `FT_Get_Advance` to efficiently retrieve an advance. In this case, `LOAD-FLAGS` are not used. Failing this, this will load the glyph and retrieve the advance using `GET-LOADED-ADVANCE`, specifying `VERTICAL-P` by whether the :vertical-layout face-flag is set. This is generally slower, but many fonts do not have a facility for fast advance retrieval.
  • Function GET-STRING-ADVANCES (face string &optional load-flags)
    => ARRAY Get an array of advances for the string `STRING` for face `FACE`, optionally specifying `LOAD-FLAGS`.
  • Function FACE-METRICS (face)
    => x-ppem, y-ppem, x-scale, y-scale, ascender, descender, height, max-advance Return the *face* metrics for `FACE` as floating point values. If a size has not been selected for `FACE`, the results are undefined.
  • Function BITMAP-NEW (&optional (library *library*))
    => BITMAP Create a new FT_Bitmap.
  • Function BITMAP-CONVERT (bitmap alignment &optional (library *library*))
    => NEW-BITMAP Convert `BITMAP` to an 8bpp bitmap with `ALIGNMENT`-byte alignment.
  • Function STRING-PIXEL-WIDTH (face string &optional (load-flags '(:default)))
    Get the pixel width of STRING in FACE given LOAD-FLAGS.
  • Function FACE-ASCENDER-PIXELS (face)
    Return the max ascender for FACE, in pixels.
  • Function FACE-DESCENDER-PIXELS (face)
    Return the max descender for FACE, in pixels.
  • Function STRING-PIXEL-HEIGHT (face string &optional (load-flags '(:default)))
    Get the pixel height of STRING in FACE given LOAD-FLAGS.
  • Function BITMAP-TO-ARRAY (bitmap)
    => ARRAY Convert `BITMAP` from internal `FT_Bitmap`'s internal representation to a native array. This is specified for a `FT-BITMAP-PIXEL-FORMAT` of `:MONO`, `:GRAY`, `:LCD`, and `:LCD-V`. Note that for :LCD and :LCD-V, the result is a either 3\*width or 3\*height, respectively. This may change in the future.
  • Function RENDER-GLYPH (face-or-glyphslot &optional (render-mode :normal))
    Render the loaded glyph in `FACE-OR-GLYPHSLOT`, optionally specifying `RENDER-MODE`. Return the rendered glyphslot.
  • Function GET-GLYPH (face-or-glyphslot)
    => GLYPH Get the `FT_Glyph` from `FACE-OR-GLYPHSLOT`.
  • Function DEFAULT-LOAD-RENDER (face char vertical-p)
    => BITMAP, ADVANCE, TOP, LEFT This is the default `LOAD-FUNCTION` for `DO-STRING-RENDER`. It is also called in the case that a custom `LOAD-FUNCTION` returns `NIL`, convenient for caching. Custom functions must be compatible, though any (non-`NIL`) value may be returned in the place of `BITMAP`. Note that cl-freetype2 does nothing else for you. If you want your cache populated, you must do this yourself, for instance, within the [`DO-STRING-RENDER`](#DO-STRING-RENDER) loop.
  • Macro DO-STRING-RENDER ((face string bitmap-var x-var y-var &key (direction :left-right) (load-function 'default-load-render) (baseline-y-p nil) (offsets-p t) (with-char nil)) &body body)
    Load, render, and compute metrics for each character in STRING in an optimal manner. `FACE` should be set up appropriately (e.g., size). `BITMAP-VAR` is passed to the block as an ft-bitmap, `X-VAR` and `Y-VAR` are coordinates for each glyph. `DIRECTION` may be specified as `:left-right`, `:right-left`, `:up-down`, or `:down-up`. `LOAD-FUNCTION` by default loads and renders a glyph, returning an `FT-BITMAP`. A custom function may be used in place to assist in caching. cl-freetype2 does not do any caching itself. See the documentation for [`DEFAULT-LOAD-RENDER`](#DEFAULT-LOAD-RENDER) for details. `BASELINE-Y-P`, if set (not default), will give `Y` in terms of *baseline* rather than an offset to the upper edge. `OFFSETS-P`, if set (default), will calculate `LEFT` offset into `X`. This is critical for correct inter-glyph spacing, but some things (e.g. Cairo) calculate this separately.
  • Function OUTLINE-COPY (library outline)
    => OUTLINE-COPY Make a copy of `OUTLINE`. Make sure `LIBRARY` is going to be valid for the life of the resulting copy. This means that if you got the value from an `FT_Face`, `FT_Glyph`, or similar parent, **that parent** must be valid, _along with_ the library itself, or use `EXTRACT-LIBRARY` to get a fresh handle.
  • Function GET-OUTLINE (face-or-glyphslot &optional char-or-code)
    => OUTLINE-COPY Retrieve an outline *copy* from `FACE-OR-GLYPHSLOT`. If `CHAR-OR-CODE` is not nil, it will be loaded, and its outline retrieved. In this case, `FACE-OR-GLYPHSLOT` must be an `FT-FACE`. If you wish to retrieve the original outline, you may use `GET-GLYPH` and `FT-OUTLINEGLYPH-OUTLINE`, but you *must* retain the glyph for the outline to remain valid.
  • Macro DO-OUTLINE-DECOMPOSE (outline decompose-lambda &body body)
    Iterate `OUTLINE`, passing the operation, a point, and up to two more points to `BODY`. `DECOMPOSE-LAMBDA` must support passing up to four arguments, e.g., `(OP POINT POINT2 POINT3)`, `(OP POINT &rest POINTS)`, etc. `OP` will be one of `:moveto`, `:lineto`, `:conicto`, or `:cubicto`. `POINT` will always be the endpoint. In the case of `:conicto`, `POINT2` is the control point. In the case of `:cubicto`, `POINT2` is the first control point, and `POINT3` is the second control point.
  • Macro DO-CHAR-DECOMPOSE ((face char-or-code) decompose-lambda &body body)
    Load `CHAR-OR-CODE` in `FACE`, and iterate the outline, passing the operation, a point, and up to two more points to `BODY`. `DECOMPOSE-LAMBDA` should be specified as per `DO-OUTLINE-DECOMPOSE`.
  • Function OUTLINE-TRANSLATE (outline x y)
    Translate `OUTLINE` by `X`,`Y`.
  • Function OUTLINE-TRANSFORM (outline matrix)
    Transform `OUTLINE` using the 2x2 matrix `MATRIX`.
  • Function OUTLINE-EMBOLDEN (outline strength)
    Embolden `OUTLINE` by at most 4\*`STRENGTH` pixels.
  • Function OUTLINE-REVERSE (outline)
    Reverse the drawing direction of `OUTLINE`. See [OUTLINE-GET-ORIENTATION](#OUTLINE-GET-ORIENTATION) and the FreeType API Reference for `FT_Outline_Reverse`.
  • Function OUTLINE-CHECK (outline)
    => boolean Validate `OUTLINE`.
  • Function OUTLINE-GET-BBOX (outline)
    => BBOX Get an exact bounding box for `OUTLINE`. This may differ from the CBox; refer to the FreeType2 API Reference for `FT_Outline_Get_BBox`.
  • Function OUTLINE-GET-CBOX (outline)
    => BBOX Get the control box for `OUTLINE`. This may differ from the BBox; refer to the FreeType2 API Reference for `FT_Outline_Get_CBox`.
  • Function OUTLINE-GET-ORIENTATION (outline)
    => [:fill-left | :fill-right | :none] Return the fill orientation for `OUTLINE`.
  • Function PRINT-WITH-FACE (face string &optional (direction :left-right))
    This is a toy function to render `STRING` using `FACE`, optionally specifying `DIRECTION` as one of `:left-right`, `:right-left`, `:up-down`, or `:down-up`. Some glyphs may cut off or wrap strangely depending on their metrics. This is also not guaranteed to be a particularly efficient implementation.

Also exports

  • FREETYPE2-FFI:GET-FSTYPE-FLAGS
  • FREETYPE2-FFI:GET-POSTSCRIPT-NAME
  • FREETYPE2-FFI:GET-NAME-INDEX