diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-07-24 18:03:11 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-07-24 18:03:11 +0200 |
| commit | 237c0c1393dd9fe6f6c9ec8fb943141751c162bd (patch) | |
| tree | 9f08fb83c4f06e851c3bdbfde625b75f9d84347d /src/drivers/Cairo | |
| parent | cd60ea17b021ce4442bc5efea8b7082463c682b8 (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.cxx | 2 |
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(); } |
