Add eps printing format, add option to print widget/window size and support for greek letters

12 visualizações
Pular para a primeira mensagem não lida

Nuno Cardoso

não lida,
18 de out. de 2020, 06:25:0218/10/2020
para fltk.coredev
In the older versions, there was support to print only the window/widget into a page with the size of the object, without selecting any page format
There is a way to do this in 1.3.5 version?
 
Also, how can I include greek letters without the system convert to image and having a ugly view, and also when printing to ps?

Thanks


Manolo

não lida,
19 de out. de 2020, 04:22:1419/10/2020
para fltk.coredev
The support for EPS format has been added to FLTK 1.4. It's not in 1.3.5.

With 1.3.5, it's possible to print any widget or window on a page as detailed there:

This way, there's no page format selection in the program. The page format is determined by the selection
of the printer.

Nothing possible in older versions is absent from version 1.3.5

FLTK uses only standard PostScript fonts and, unfortunately, these support only the Latin script.

Manolo

não lida,
1 de nov. de 2020, 01:33:0601/11/2020
para fltk.coredev
Following this post, support for PostScript/EPS output of Greek letters (and any other script)
has been added to FLTK 1.4.

This requires to activate Pango support at FLTK build time, which is done either by
   ./configure --enable-pango
or
  cmake   -D OPTION_USE_PANGO=1
With that support, non-Latin scripts can be drawn by fl_draw() whatever is the current font.
That is, it's no longer necessary to match the chosen font with the character repertoire in the drawn text.

Responder a todos
Responder ao autor
Encaminhar
0 nova mensagem