From c0a8d44710beed044d7389e5f2f5e64c80f546a5 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sat, 4 Sep 2010 15:01:07 +0000 Subject: =?UTF-8?q?Full=20support=20of=20UTF-8=20text=20for=20PostScript?= =?UTF-8?q?=20printing/output=20in=202=20ways:=20-=20Latin=20characters=20?= =?UTF-8?q?(unicode=20<=3D=2017F)=20and=20a=20few=20other=20symbols,=20amo?= =?UTF-8?q?ng=20which=20the=20=E2=82=AC=20(Euro),=20are=20output=20using?= =?UTF-8?q?=20vectorial=20fonts=20-=20All=20other=20characters=20are=20out?= =?UTF-8?q?put=20as=20a=20bitmap=20copy=20of=20their=20offscreen=20renditi?= =?UTF-8?q?on.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7697 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_PostScript.H | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'FL/Fl_PostScript.H') 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). +
All other unicode characters are output as a bitmap. +
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: -- cgit v1.2.3