From: buliabyak Date: Mon, 1 Sep 2008 23:05:17 +0000 (+0000) Subject: use smaller subpixel scaling; large values take more memory and sometimes fail for... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1f801abc64b2ab247cd38c40ae828157cdb964ab;p=inkscape.git use smaller subpixel scaling; large values take more memory and sometimes fail for too large patter tiles --- diff --git a/src/extension/internal/cairo-render-context.cpp b/src/extension/internal/cairo-render-context.cpp index 0a12a5c5b..0c3c469c2 100644 --- a/src/extension/internal/cairo-render-context.cpp +++ b/src/extension/internal/cairo-render-context.cpp @@ -977,7 +977,7 @@ CairoRenderContext::_createPatternPainter(SPPaintServer const *const paintserver height_scaler *= 1.25; } -#define SUBPIX_SCALE 1000 +#define SUBPIX_SCALE 100 // Cairo requires an integer pattern surface width/height. // Subtract 0.5 to prevent small rounding errors from increasing pattern size by one pixel.