[cl-cairo2-devel] font options

Tamas K Papp tpapp at Princeton.EDU
Thu Jan 1 00:09:07 UTC 2009


Hi Scott,

I don't write CFFI bindings for cl-cairo2 by hand but create them by
SWIG.  I am very busy now, and won't have time until next week.  I
will look into the issue then, if you don't hear from me by Jan 7 then
please remind me.

Tamas

On Wed, Dec 31, 2008 at 03:26:48PM -0800, Scott Graham wrote:
> 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
> 
> _______________________________________________
> cl-cairo2-devel mailing list
> cl-cairo2-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/cl-cairo2-devel




More information about the Cl-cairo2-devel mailing list