[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - vcl/headless

Caolán McNamara caolanm at redhat.com
Thu Jul 21 15:55:02 UTC 2016


 vcl/headless/svpgdi.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit d560b37398e92c854d4015ed7229605c61e310ed
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Jul 19 09:54:27 2016 +0100

    use CAIRO_FILL_RULE_EVEN_ODD by default
    
    as seen in tdf#100909 with gtk3 backend
    
    Change-Id: I67a270a96df980489cd2cb37461b3bf88de4df03
    (cherry picked from commit 0d2a328ab0ecac9e07dbb59762e571958fcc33d9)
    Reviewed-on: https://gerrit.libreoffice.org/27314
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>

diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index 5d6549e..74ce2b9 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -1281,6 +1281,7 @@ cairo_t* SvpSalGraphics::getCairoContext(bool bXorModeAllowed) const
     else
         cr = cairo_create(m_pSurface);
     cairo_set_line_width(cr, 1);
+    cairo_set_fill_rule(cr, CAIRO_FILL_RULE_EVEN_ODD);
     if (m_ePaintMode == INVERT)
         cairo_set_operator(cr, CAIRO_OPERATOR_DIFFERENCE);
     else


More information about the Libreoffice-commits mailing list