summaryrefslogtreecommitdiff
path: root/src/drivers/Cairo
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-07-24 18:03:11 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-07-24 18:03:11 +0200
commit237c0c1393dd9fe6f6c9ec8fb943141751c162bd (patch)
tree9f08fb83c4f06e851c3bdbfde625b75f9d84347d /src/drivers/Cairo
parentcd60ea17b021ce4442bc5efea8b7082463c682b8 (diff)
Add Pango version check for Fl_PostScript_Graphics_Driver
Diffstat (limited to 'src/drivers/Cairo')
-rw-r--r--src/drivers/Cairo/Fl_Cairo_Graphics_Driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/Cairo/Fl_Cairo_Graphics_Driver.cxx b/src/drivers/Cairo/Fl_Cairo_Graphics_Driver.cxx
index a85d70e4c..a991edab1 100644
--- a/src/drivers/Cairo/Fl_Cairo_Graphics_Driver.cxx
+++ b/src/drivers/Cairo/Fl_Cairo_Graphics_Driver.cxx
@@ -1157,7 +1157,7 @@ void Fl_Cairo_Graphics_Driver::draw(const char* str, int n, float x, float y) {
// The -0.5 below makes underscores visible in Fl_Text_Display at scale = 1
cairo_translate(cairo_, x, y - height() + descent() -0.5);
pango_layout_set_text(pango_layout_, str, n);
- pango_cairo_show_layout(cairo_, pango_layout_);
+ pango_cairo_show_layout(cairo_, pango_layout_); // 1.1O
cairo_restore(cairo_);
surface_needs_commit();
}