From 9d869d73c1ca8f6c884f528a3ad4f623f25dffb1 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Thu, 10 Mar 2022 15:05:26 +0100 Subject: [PATCH] Begin documenting the Wayland platform, new in FLTK version 1.4 --- FL/Fl_PostScript.H | 4 +- FL/Fl_Printer.H | 11 ++- FL/wayland.H | 3 + documentation/src/drawing.dox | 8 +- documentation/src/opengl.dox | 21 +++++ documentation/src/osissues.dox | 76 +++++++++++++++++++ documentation/src/preface.dox | 9 ++- .../Wayland/Fl_Wayland_Window_Driver.cxx | 9 +++ 8 files changed, 131 insertions(+), 10 deletions(-) diff --git a/FL/Fl_PostScript.H b/FL/Fl_PostScript.H index fbef51251..546145576 100644 --- a/FL/Fl_PostScript.H +++ b/FL/Fl_PostScript.H @@ -40,14 +40,14 @@ class Fl_PostScript_Graphics_Driver; This class is used exactly as the Fl_Printer class except for the begin_job() call, two variants of which are usable and allow to specify what page format and layout are desired. - Processing of text: Text uses vectorial fonts under the X11 + pango platform. + Processing of text: Text uses vectorial fonts under the X11 + Pango and the Wayland platforms. With other platforms, only text restricted to the Latin alphabet (and a few other characters listed in the table below) and to FLTK standard fonts is vectorized. All other unicode characters or all other fonts (FL_FREE_FONT and above) are output as a bitmap. FLTK standard fonts are output using the corresponding PostScript standard fonts. The latin alphabet means all unicode characters between U+0020 and U+017F, or, in other words, the ASCII, Latin-1 Supplement and Latin Extended-A charts. -
Processing of transparent Fl_RGB_Image objects: Under the X11 + pango platform, +
Processing of transparent Fl_RGB_Image objects: Under the X11 + Pango and the Wayland platforms, these objects are output with their exact transparency. With other platforms, these objects are drawn blended to white color. Class Fl_EPS_File_Surface 's constructor allows to set another background color for blending. diff --git a/FL/Fl_Printer.H b/FL/Fl_Printer.H index e2b406ac4..a8e4fdce4 100644 --- a/FL/Fl_Printer.H +++ b/FL/Fl_Printer.H @@ -59,13 +59,16 @@ \endcode Platform specifics