From 396ae32a583aeae56f5b0e34948c6e1709724c1f Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Thu, 30 Dec 2010 18:12:35 +0000 Subject: Remove unnecessary whitespace --- fitz/fitz.h | 12 ++++++------ mupdf/mupdf.h | 2 -- mupdf/pdf_build.c | 1 - mupdf/pdf_repair.c | 1 - 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/fitz/fitz.h b/fitz/fitz.h index 80d0e63a..6c508fac 100644 --- a/fitz/fitz.h +++ b/fitz/fitz.h @@ -1042,17 +1042,17 @@ void fz_executedisplaylist(fz_displaylist *list, fz_device *dev, fz_matrix ctm); /* These are the blending primitives: -span over span (text and path drawing to clip mask) +span over span (text and path drawing to clip mask) span in alpha over span span in span over span -color in span over span (text and path drawing) +color in span over span (text and path drawing) fz_paintspan(dp, sp); fz_paintspanalpha(dp, sp, alpha) fz_paintspanmask(dp, sp, mask); fz_paintspancolor(dp, color, mask); -pixmap over pixmap (shading with function lookup) +pixmap over pixmap (shading with function lookup) pixmap in alpha over pixmap (xobject/shading with ca) pixmap in pixmap over pixmap (xobject with softmask / clip) @@ -1068,9 +1068,9 @@ color in affine over span fz_paintaffinealpha() fz_paintaffinecolor() -image over pixmap (image fill) -image in alpha over pixmap (image fill with ca) -color in image over pixmap (image mask fill) +image over pixmap (image fill) +image in alpha over pixmap (image fill with ca) +color in image over pixmap (image mask fill) fz_paintimage() fz_paintimagealpha() diff --git a/mupdf/mupdf.h b/mupdf/mupdf.h index b13f78d7..8f391551 100644 --- a/mupdf/mupdf.h +++ b/mupdf/mupdf.h @@ -47,7 +47,6 @@ char * pdf_toutf8(fz_obj *src); unsigned short * pdf_toucs2(fz_obj *src); fz_obj * pdf_toutf8name(fz_obj *src); - /* * Encryption */ @@ -486,7 +485,6 @@ fz_obj *pdf_lookupdest(pdf_xref *xref, fz_obj *needle); fz_obj *pdf_lookupname(pdf_xref *xref, char *which, fz_obj *needle); fz_obj *pdf_loadnametree(pdf_xref *xref, char *which); - pdf_outline *pdf_loadoutline(pdf_xref *xref); void pdf_debugoutline(pdf_outline *outline, int level); void pdf_freeoutline(pdf_outline *outline); diff --git a/mupdf/pdf_build.c b/mupdf/pdf_build.c index 8be76e6c..da1b193c 100644 --- a/mupdf/pdf_build.c +++ b/mupdf/pdf_build.c @@ -291,7 +291,6 @@ pdf_showimage(pdf_csi *csi, fz_pixmap *image) bbox = fz_transformrect(gstate->ctm, fz_unitrect); - if (image->mask) csi->dev->clipimagemask(csi->dev->user, image->mask, gstate->ctm); else /* TODO: only skip gstate softmask for softmasked images? */ diff --git a/mupdf/pdf_repair.c b/mupdf/pdf_repair.c index 48472314..7c2870b7 100644 --- a/mupdf/pdf_repair.c +++ b/mupdf/pdf_repair.c @@ -353,7 +353,6 @@ pdf_repairxref(pdf_xref *xref, char *buf, int bufsize) fz_dropobj(id); } - fz_free(list); return fz_okay; -- cgit v1.2.3