rpav / cl-cairo2

Cairo bindings for Common Lisp
https://github.com/rpav/cl-cairo2/wiki
Boost Software License 1.0
62 stars 15 forks source link

xlib-freetype-example.lisp does not load correctly. #21

Closed stacksmith closed 7 years ago

stacksmith commented 8 years ago

I may be misunderstanding something, but after (ql:quickload :cl-cairo2-xlib), compiling xlib-freetype-example.lisp produces errors with (with-ft-scaled-face-locked...) macro missing (and therefore, face not being bound).

Some digging around points to the file freetype.lisp not being referenced in cl-cairo2-xlib.asd

The problem went away after I added (:file "../freetype") to the asd.

Is my usage incorrect, or is it an oversight?

Thank you.

stacksmith commented 7 years ago

To answer my own question - the freetype system must be loaded first...