From 0caa2c99c2425c52808911d9b2e08b56502436ed Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Thu, 31 Aug 2023 12:51:16 +0200 Subject: Special (UTF-8) characters in PDF docs maybe not rendered correctly (#772) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use an image to display the table of the detailed description of class Fl_PostScript_File_Device in PDF format, and keep using a dynamic table for the HTML format. Replace use of the '⌘' character in file drawing.dox by text 'cmd'. --- FL/Fl_PostScript.H | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'FL/Fl_PostScript.H') diff --git a/FL/Fl_PostScript.H b/FL/Fl_PostScript.H index 8b2e2749a..b03a0a0dc 100644 --- a/FL/Fl_PostScript.H +++ b/FL/Fl_PostScript.H @@ -40,19 +40,16 @@ 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 and the Wayland platforms. +
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 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. -
Extra characters supported by standard PostScript fonts
- + \htmlonly +
+ @@ -66,8 +63,16 @@ class Fl_PostScript_Graphics_Driver; - +
Extra characters supported by standard PostScript fonts
CharCodepointName CharCodepointName CharCodepointName
ƒU+0192florinU+201AquotesinglbaseU+2122trademark
ˆU+02C6circumflexU+201CquotedblleftU+2202partialdiff
U+2013endashU+2039guilsinglleftU+25CAlozenge
U+2014emdashU+203AguilsinglrightU+FB01fi
U+2018quoteleft/U+2044fractionU+FB02fl
U+2019quoterightU+20ACEuroU+F8FFapple (Mac OS only)
U+2019quoterightU+20ACEuroU+F8FFapple (macOS only)
+ \endhtmlonly + + \image latex extraPSchars.png "Extra characters supported by standard PostScript fonts" width=16cm + + 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. */ class FL_EXPORT Fl_PostScript_File_Device : public Fl_Paged_Device { -- cgit v1.2.3