Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F2625
patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 9:05 PM
2014-11-21 21:05:10 (UTC+0)
Size
577 B
Referenced Files
None
Subscribers
None
patch
View Options
--- librsvg-2.11.1.orig/rsvg-art-render.c 2005-03-03 02:14:20.000000000 -0300
+++ librsvg-2.11.1/rsvg-art-render.c 2006-02-12 00:06:35.000000000 -0200
@@ -67,7 +67,15 @@
g_warning (_("rsvg_art_render_new: dimensions too large"));
return NULL;
}
- memset (pixels, 0, rowstride * new_height);
+ //memset (pixels, 0, rowstride * new_height);
+ size_t c;
+ for (c = 0; c < new_width * new_height; c++)
+ {
+ pixels[c*4 + 0] = 0xFF;
+ pixels[c*4 + 1] = 0xFF;
+ pixels[c*4 + 2] = 0xFF;
+ pixels[c*4 + 3] = 0x00;
+ }
output = g_new(RsvgArtRender, 1);
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2200
Default Alt Text
patch (577 B)
Attached To
Mode
T6968: librsvg workaround for black background on Firefox printing
Attached
Detach File
Event Timeline
Log In to Comment