Hack to get text to render right

This commit is contained in:
Charles Dang 2017-05-31 13:39:45 +11:00
parent eb671aec48
commit 78271d2302

View file

@ -680,6 +680,10 @@ void pango_text::render(PangoLayout& layout, const PangoRectangle& rect, const s
);
pango_cairo_show_layout(cr.get(), &layout);
// HACK: 'draw' text a second time in order to get desired output when copying w/ alpha blending.
// See bug #1744 for more info.
pango_cairo_show_layout(cr.get(), &layout);
}
void pango_text::rerender(const bool force)