From a3cb4af739f88e8470fe5d201ba6ddcebafe7657 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Mon, 15 Mar 2021 08:13:09 +0100 Subject: Class Fl_PostScript_Graphics_Driver: better separation of what varies with USE_PANGO --- src/drivers/PostScript/Fl_PostScript.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/drivers/PostScript/Fl_PostScript.cxx') diff --git a/src/drivers/PostScript/Fl_PostScript.cxx b/src/drivers/PostScript/Fl_PostScript.cxx index 4ddd1f449..53811d6cf 100644 --- a/src/drivers/PostScript/Fl_PostScript.cxx +++ b/src/drivers/PostScript/Fl_PostScript.cxx @@ -125,7 +125,9 @@ Fl_PostScript_Graphics_Driver::Fl_PostScript_Graphics_Driver(void) close_cmd_ = 0; //lang_level_ = 3; lang_level_ = 2; +#if ! USE_PANGO mask = 0; +#endif ps_filename_ = NULL; scale_x = scale_y = 1.; bg_r = bg_g = bg_b = 255; @@ -1441,7 +1443,7 @@ void Fl_PostScript_Graphics_Driver::ps_untranslate(void) fprintf(output, "GR GR\n"); } -# else +# else // USE_PANGO /* Cairo-based implementation of the PostScript graphics driver */ -- cgit v1.2.3