Hack to get text to render right
This commit is contained in:
parent
eb671aec48
commit
78271d2302
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue