On 02/19/2012 01:45 PM, Ian MacArthur wrote: > This was fine, but the cairo mode was painfully slow, so most times we only > actually invoked it in the specific case that we were rendering to a PDF > surface in the end, for capture of the final output. > And on OSX, you couldn't even tell the difference since the base OSX > rendering was anti-aliased and composited nicely anyway! > > Made a big difference on X11, but *really* slow.
I believe Cairo has gotten a lot faster recently. It is being used internally by Firefox and all GTK programs. There appears to be a lot of work on a "Cairo_gl" which implements Cairo using OpenGL. That is likely to be fast enough. > And the font/text handling with cairo is a pain - fltk font handling is > *much* simpler. If Cairo is the default output, fltk's font handling would be wrapped around it. Cairo certainly has no font handling. It appears the correct solution is to use Pango. Or you use the freetype api that lists fonts. _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
