diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-04-12 14:53:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-04-13 12:16:02 +0200 |
commit | 75dba661d97c625fee8fd2b80c90b9adba9aeffb (patch) | |
tree | 9feefb01c6d07637483ee543d861c27ead8a8b56 /basegfx | |
parent | f0b3e2241e05472ad84bb9a2a7f9b7142ec54863 (diff) |
Related: tdf#100925 background not getting set under X sometimes
not sure why this is the case, but it is reminiscent of rhbz#1283420 which
results in missing glyphs in some circumstances
X11CairoTextRender::getCairoContext has a hack in it for that problem, whic
forces a read from the underlying X Drawable before writing to it which seems
to have the effect of syncing it up.
So, just before drawing the bg, draw a glyph on it to get it synced, and then
overwrite it.
Change-Id: I2ffff7e8e989b91821869d8b75a59728ac513d1b
Reviewed-on: https://gerrit.libreoffice.org/52810
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'basegfx')
0 files changed, 0 insertions, 0 deletions