* Source/cairo/CairoGState.m (-compositeGState:...fraction:):

Disable workaround for cairo > 1.8 for cairo > 1.13.
        Patch by Edwin Ancaer <eancaer@gmail.com>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@38135 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2014-10-25 18:14:50 +00:00
parent 0267440258
commit 2f804fe716
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2014-10-25 Fred Kiefer <FredKiefer@gmx.de>
* Source/cairo/CairoGState.m (-compositeGState:...fraction:):
Disable workaround for cairo > 1.8 for cairo > 1.13.
Patch by Edwin Ancaer <eancaer@gmail.com>
2014-05-24 Fred Kiefer <FredKiefer@gmx.de>
* configure.ac: Fix wrong assumption about Xft's .pc file that

View file

@ -1309,9 +1309,10 @@ _set_op(cairo_t *ct, NSCompositingOperation op)
ssize = [source->_surface size];
}
if (cairo_version() >= CAIRO_VERSION_ENCODE(1, 8, 0))
if ((cairo_version() >= CAIRO_VERSION_ENCODE(1, 8, 0)) &&
(cairo_version() <= CAIRO_VERSION_ENCODE(1, 13, 0)))
{
// For cairo > 1.8 we seem to need this adjustment
// For cairo > 1.8 and < 1.13 we seem to need this adjustment
srcRectInBase.origin.y -= 2 * (source->offset.y - ssize.height);
}