Code

use smaller subpixel scaling; large values take more memory and sometimes fail for...
authorbuliabyak <buliabyak@users.sourceforge.net>
Mon, 1 Sep 2008 23:05:17 +0000 (23:05 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Mon, 1 Sep 2008 23:05:17 +0000 (23:05 +0000)
src/extension/internal/cairo-render-context.cpp

index 0a12a5c5bba60fa6621a69bab1caea75134de6dc..0c3c469c2bf22b25335b2a2f58859163e2297119 100644 (file)
@@ -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.