Elijah wrote:
> Hey there! I'm new to FLTK, and I got some Linux code that uses an 
> ancient version of FLTK (v1.0).

OK - that's *old*... I guess porting from 1.0 to 1.3 will be mostly 
straightforward, though there are probably a few gotcha's in there...

 > I need to add printing to the
> application. I was planning to use the following scheme: 1) generate 
> HTML from external data using my own parser, 2) display it with an 
> Fl_Help_View widget, 3) then generate a PostScript file from HTML 
> using html2ps, 4) send it to printer.

Seems like a lot of hassle - the printing support in fltk-1.3 will 
mostly handle rendering any widget in postscript for sending to the 
printer anyway.

Or... maybe you hadn't heard that Manolo et al put printing support into 
1.3?

> 
> I wonder, can I neatly print the contents of the Fl_Help_View in FLTK
>  v1.3.x using Fl_Printer? And, more to it, I need to print some 
> not-Latin characters (e.i. Cyrillic).

Ah, right. OK, yes fltk-1.3 ought to do the trick then, especially if 
you need non-ASCII text handling, you need to render the text as utf8 in 
fltk-1.3 and all should be well. Probably...



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

Reply via email to