diff options
| author | Manolo Gouy <Manolo> | 2010-09-04 15:01:07 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2010-09-04 15:01:07 +0000 |
| commit | c0a8d44710beed044d7389e5f2f5e64c80f546a5 (patch) | |
| tree | d474948db311a99b87db0d28ff4ad07912cea9d8 /FL | |
| parent | 3b3197a86ad6f0b7de7f8fd047b847a0e5641815 (diff) | |
Full support of UTF-8 text for PostScript printing/output in 2 ways:
- Latin characters (unicode <= 17F) and a few other symbols, among which the € (Euro),
are output using vectorial fonts
- All other characters are output as a bitmap copy of their offscreen rendition.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7697 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_PostScript.H | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/FL/Fl_PostScript.H b/FL/Fl_PostScript.H index 447a8bd1c..45eeef0da 100644 --- a/FL/Fl_PostScript.H +++ b/FL/Fl_PostScript.H @@ -40,9 +40,23 @@ /** \brief PostScript graphical backend. * - PostScript text output is presently implemented only for the latin character set. - FLTK's standard fonts are output using PostScript's standard fonts: Helvetica, Courier, - Times (and their bold, oblique, italic variants), Symbol, ZapfDingbats. + PostScript text uses vectorial fonts for the latin alphabet only (exactly: all unicode + characters between U+0020 and U+017F, that is, ASCII, Latin-1 Supplement and Latin Extended-A charts) + plus a few other punctuation and symbols: + U+0192 (ƒ florin), U+02C6 (ˆ circumflex), U+02C7 (ˇ caron), + U+02D8 (breve), U+02D9 (dotaccent), U+02DA (ring), U+02DB (ogonek), U+02DC (tilde), U+02DD (hungarumlaut), + U+2013 (– endash), U+2014 (— emdash), U+2018 (‘ quoteleft), U+2019 (’ quoteright), + U+201A (‚ quotesinglbase), U+201C (“ quotedblleft), U+201D (” quotedblright), U+0201E („ quotedblbase), + U+2020 († dagger), U+2021 (‡ daggerdbl), U+2022 (• bullet), + U+2026 (… ellipsis), U+2030 (‰ perthousand), U+2039 (‹ guilsinglleft), U+203A (› guilsinglright), + U+2044 (⁄ fraction), U+20AC (€ Euro), U+2122 (™ trademark), + U+2202 (∂ partialdiff), U+2206 (Δ Delta), U+2211 (∑ summation), U+0221A (√ radical), + U+221E (∞ infinity), U+2260 (≠ notequal), U+2264 (≤ lessequal), + U+2265 (≥ greaterequal), + U+25CA (◊ lozenge), U+FB01 (fi), U+FB02 (fl), U+F8FF ( apple symbol, Mac OS X only). + <br> All other unicode characters are output as a bitmap. + <br> FLTK standard fonts are output using PostScript standard fonts: Helvetica, Courier, + Times (and their bold, oblique, italic variants). */ class Fl_PostScript_Graphics_Driver : public Fl_Graphics_Driver { public: |
