summaryrefslogtreecommitdiff
path: root/src/drivers/PostScript/Fl_PostScript.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-03-15 08:13:09 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-03-15 08:13:21 +0100
commita3cb4af739f88e8470fe5d201ba6ddcebafe7657 (patch)
treea6873ed450e8c0468a800ecab0b9cd0de6a13767 /src/drivers/PostScript/Fl_PostScript.cxx
parentce142e80dfe56e90d922649fa43e577a609dc1af (diff)
Class Fl_PostScript_Graphics_Driver: better separation of what varies with USE_PANGO
Diffstat (limited to 'src/drivers/PostScript/Fl_PostScript.cxx')
-rw-r--r--src/drivers/PostScript/Fl_PostScript.cxx4
1 files changed, 3 insertions, 1 deletions
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 */