Anybody got any relevant pointers on Cairo? I've never really used Cairo but a colleague has a fairly complex piece of code he uses to render anti-aliased scenes on his linux system (and to generate PDF output for a permanent record.)
I was taking a look at porting this to OSX, but my initial attempts fail because: 1: The image is upside down. I'm *pretty* sure this is because the Quartz and fltk rendering origins are different, and Matthias has flipped the Quartz origin to make it compatible with fltk. Then when I try and pass that CGContext to Cairo, everything is flipped... And I'm not sufficiently familiar with either Quartz or Cairo to know how to make it good again... 2: The fonts don't seem to be right. This is likely something I have done, maybe I have built my Cairo wrong or something. Anyhow, it's a non-standard font (as a dfont, actually) but fltk renders it just fine, Cairo does not and we get default glyphs... Suggestions? Other than not using Cairo, since Quartz is anti-aliased anyway, and there are others ways to get PDF out of an OSX system... Cheers, -- Ian _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

