summaryrefslogtreecommitdiff
path: root/fitz
AgeCommit message (Collapse)Author
2011-04-04xps: Convert CMYK with alpha to RGB early to avoid premul alpha headaches.Tor Andersson
2011-04-04Update win32 project files after reshuffling.Tor Andersson
2011-04-04draw: Purge old (fast but too ugly) image scaling code.Tor Andersson
2011-04-04Add device interface functions to draw tiled patterns.Tor Andersson
2011-04-04draw: Fix bug in display list culling.Tor Andersson
The node bbox was not transformed to device space before the visibility test.
2011-04-04draw: Speed up display list execution by using a visibility test.Tor Andersson
2011-04-04Change how files are opened with fz_openfd/file/filew.Tor Andersson
2011-04-04Incorporate small fixes from SumatraPDF.Tor Andersson
2011-04-03xps: Plug memory leaks.Tor Andersson
2011-04-03Merge branch 'xps'Tor Andersson
2011-04-03draw: Fix regression introduced with bug 692117.Tor Andersson
Only scale grayscale images before color converting, at least until we figure out how to consistently handle premultiplied alpha with the smooth scaling and color conversion code. We must also take care not to scale indexed images!
2011-04-03xps: Fix bugs uncovered by QualityLogicMinBar tests.Tor Andersson
2011-04-03xps: Use fz_pixmap directly instead of wrapping it in xps_image.Tor Andersson
2011-04-01Use a function pointer for resolveindirect.Tor Andersson
This removes a static dependency between fitz and mupdf. Fitz should now be link time independent of mupdf again.
2011-04-01draw: Convert and scale images in the cheapest order.Tor Andersson
Grayscale images should be converted to RGB after downscaling, and vice versa for CMYK -> RGB. Separation and DeviceN based images have very expensive color conversions and should also be converted after scaling.
2011-04-01xps: Use opacity masks, and draw gradients with opacity.Tor Andersson
2011-04-01xps: Respect PathGeometry.Transform attribute.Tor Andersson
2011-03-31xps: Fix bugs in TIFF reader.Tor Andersson
WhiteIsBlack was flipped for fax images. re-multiplying alpha with CMYK images needs special care because of subtractive colors.
2011-03-31xps: Clean up image loading code, and handle images with alpha.Tor Andersson
2011-03-29Don't shorten colorspace to 'cs' in structs and other names.Tor Andersson
2011-03-27Set the result pointer after swapping buffers.Michael Kaiser
In the CCITTFaxDecode filter, the result pointer was reset before swapping the buffers, so each line was copied to the output buffer only after decoding the following line. This was leading to a duplication of the first line and a missing last line.
2011-03-10Fix integer overflow in compression bomb multiplication by using a division ↵Tor Andersson
instead.
2011-03-06Add error message buffer for GUI applications to display the latest error ↵Tor Andersson
stack trace.
2011-03-06Inhibit warning message spam by introducing a repeat counter.Tor Andersson
2011-03-06Add explicit EOF testing functions.Tor Andersson
2011-03-02Comply with the stream read protocol in flate decoder: always fill the ↵Tor Andersson
output buffer with all available data.
2011-03-02Use buffering for small reads.Tor Andersson
2011-03-01Fix subtle path stroking bug where closepath did not update the pen position.Tor Andersson
2011-02-23Use readbits function in LZW decoder.Tor Andersson
2011-02-23Add bitstream reader functions.Tor Andersson
2011-02-23Stylistic cleanups in LZW decoder: copy state variables in locals.Tor Andersson
2011-02-23Revert to using fthint since we cannot rely on FreeType's trickyness ↵Tor Andersson
detection on some subset fonts.
2011-02-23Remove fthint workaround for DynaLab fonts, since that is now a part of ↵Tor Andersson
freetype.
2011-02-18Make pdfdraw -tt output valid XML.Tor Andersson
2011-02-17Stretch glyphs for substituted fonts when stroking the same as when filling.Tor Andersson
2011-02-08Use horizontal metrics to create text boxes instead of guessing at bad ↵Tor Andersson
vertical values.
2011-02-08Only interpolate upscaled images when the interpolate flag is set in the ↵Tor Andersson
image dictionary.
2011-02-07Add support for AESv3 encryption from SumatraPDF.Tor Andersson
2011-02-04Compensate for floating point imprecision in roundrect.Tor Andersson
2011-02-04Tweak the compression bomb detection.Tor Andersson
2011-02-04Use the CMYK-to-RGB transform from Poppler.Tor Andersson
2011-02-04Add ftsize and ftfile fields to font struct for SumatraPDF use.Tor Andersson
2011-02-04Don't reset stream wp pointer at end of file, since that will clobber ↵Tor Andersson
streams opened with openbuffer.
2011-02-03Various patches from SumatraPDF.Tor Andersson
2011-02-03Special case calloc and realloc with zero count or size.Tor Andersson
2011-02-03Use calloc to allocate pixmap data. Limit size of PDF images to 65k x 65k.Tor Andersson
2011-02-02Store font data buffer in fz_font rather than in pdf_fontdesc. Fixes bug ↵Tor Andersson
where the fontdesc was evicted from cache while the font still lived on in a display list, with a now stale pointer.
2011-02-02Remove pdf_token_e typedef since the list of tokens is extended by ↵Tor Andersson
individual parsers, resulting in compiler warnings.
2011-01-29Cleanups in fz_copyarray and fz_copydict.Tor Andersson
2011-01-29Don't try to copy arrays/dictionaries that are indirect references with ↵Tor Andersson
fz_copyarray and fz_copydict.