On 08.10.2010, at 18:04, David Lopez wrote:

> What method or patch would you suggest nowadays for printing in version 
> 1.1.10 on WIN32?

Switch to 1.3.0 ;-)

FLTK 1.3 is API-compatible with FLTK 1.1, so that you can run most
apps simply by compiling with 1.3.0. However, 1.3.0 is still beta
(not yet released). FLTK 1.3 uses Unicode characters (UTF-8)
internally, so you must take care of that if you're using text
outside of the (US-)ASCII set. There are also some bugs (e.g.
in Fl_Text_Editor/Display) that may be critical, but some
people are using it already.

> Is printing going to be added soon to 1.1.x branch?

No, 1.1.10 is the final version of this branch.

> I tried to extract the printing code from FLUID but it seemed a little 
> monolithic to separate.

Others have reported that they used a similar approach (rendering to
offscreen images and printing these, like in fluid). This might be
the easiest way to go if you need 1.1.10.

> Now I'm trying to get Fl_Device patch compiled with my project but I guess 
> I'm going to need doing some changes to adapt it from 1.1.4 to 1.1.10

This has all been done (and much more) in FLTK 1.3 - it's a lot of
work if you want to do it for 1.1.10, and the old 1.1.4 patch is less
complete than the current version of FLTK 1.3.

Albrecht
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to