[cl-cairo2-devel] font options

Scott Graham scott.clcairo2 at h4ck3r.net
Wed Dec 31 23:26:48 UTC 2008


Hi

I was just looking into some text stuff. I'd like to be able to set
the font_options (for antialias, subpixel, hinting), but those
functions don't exist yet.

I tried a little to write them, but I'm afraid my cffi is weak. I
guess this is sufficient for set-font-options:

  (define-with-default-context set-font-options font-options)

but I'm not sure what get-font-options should look like because of the
return value pointer.

Also, it'd probably be better to wrap something around the
font_options object to handle the management of those on the CL side.


... So, I guess really I'm just posting a request for those to be
written, since I don't know too much about what I'm doing. :) It'd be
much appreciated if you can find time to add them.

scott




More information about the Cl-cairo2-devel mailing list