diff options
author | Alexander Nedotsukov <bland@FreeBSD.org> | 2003-10-28 16:31:34 +0000 |
---|---|---|
committer | Alexander Nedotsukov <bland@FreeBSD.org> | 2003-10-28 16:31:34 +0000 |
commit | 42673e43b40b1f764820c8726ef6f8216634a734 (patch) | |
tree | 4b8247257beaca595979dedad53cdcdd015a9299 /print/libgnomeprint/files/patch-libgnomeprint::gnome-meta.c | |
parent | - Update to version 2.2.0 (diff) |
Speedup raster image printing for metafile. Let's say dramatically.
Notes
Notes:
svn path=/head/; revision=92467
Diffstat (limited to '')
-rw-r--r-- | print/libgnomeprint/files/patch-libgnomeprint::gnome-meta.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/print/libgnomeprint/files/patch-libgnomeprint::gnome-meta.c b/print/libgnomeprint/files/patch-libgnomeprint::gnome-meta.c new file mode 100644 index 000000000000..5526dceaa446 --- /dev/null +++ b/print/libgnomeprint/files/patch-libgnomeprint::gnome-meta.c @@ -0,0 +1,10 @@ +--- libgnomeprint/gnome-print-meta.c.orig Wed Oct 29 00:53:15 2003 ++++ libgnomeprint/gnome-print-meta.c Wed Oct 29 01:06:23 2003 +@@ -312,6 +312,7 @@ + gpm_encode_int (pc, w); + gpm_encode_int (pc, ch); + ++ gpm_ensure_space(pc, w * ch * h); + for (y = 0; y < h; y++){ + gpm_encode_block (pc, px, w * ch); + px += rowstride; |