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

조회수 12회
읽지 않은 첫 메시지로 건너뛰기

Nuno Cardoso

읽지 않음,
2020. 10. 18. 오전 6:25:0220. 10. 18.
받는사람 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

읽지 않음,
2020. 10. 19. 오전 4:22:1420. 10. 19.
받는사람 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

읽지 않음,
2020. 11. 1. 오전 1:33:0620. 11. 1.
받는사람 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.

전체답장
작성자에게 답글
전달
새 메시지 0개