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.
-
| Char | Codepoint | Name | Char | Codepoint | Name | Char | Codepoint | Name |
|---|---|---|---|---|---|---|---|---|
| ƒ | U+0192 | florin | ‚ | U+201A | quotesinglbase | ™ | U+2122 | trademark |
| ˆ | U+02C6 | circumflex | “ | U+201C | quotedblleft | ∂ | U+2202 | partialdiff |
| – | U+2013 | endash | ‹ | U+2039 | guilsinglleft | ◊ | U+25CA | lozenge |
| — | U+2014 | emdash | › | U+203A | guilsinglright | fi | U+FB01 | fi |
| ‘ | U+2018 | quoteleft | / | U+2044 | fraction | fl | U+FB02 | fl |
| ’ | U+2019 | quoteright | € | U+20AC | Euro | | U+F8FF | apple (Mac OS only) |
| ’ | U+2019 | quoteright | € | U+20AC | Euro | | U+F8FF | apple (macOS only) |