uharfbuzz icon indicating copy to clipboard operation
uharfbuzz copied to clipboard

Add an example of using PaintFuncs with cairo

Open khaledhosny opened this issue 1 year ago • 3 comments

khaledhosny avatar Feb 11 '24 13:02 khaledhosny

Thanks. Maybe we ahould also bind hb-cairo?

behdad avatar Feb 11 '24 14:02 behdad

Maybe we ahould also bind hb-cairo?

I wrote this mainly to test the PaintFuncs bindings, then wanted to put it somewhere not not loose it. Binding hb-cairo would require also building cairo which I don’t think is going to be as easy as building HarfBuzz.

khaledhosny avatar Feb 11 '24 17:02 khaledhosny

Maybe we ahould also bind hb-cairo?

I wrote this mainly to test the PaintFuncs bindings, then wanted to put it somewhere not not loose it.

Sure.

Binding hb-cairo would require also building cairo which I don’t think is going to be as easy as building HarfBuzz.

I was thinking providing support if pycairo is already available. I think that's possible without a build-time option.

behdad avatar Feb 13 '24 07:02 behdad