summaryrefslogtreecommitdiff
path: root/fitz
AgeCommit message (Collapse)Author
2011-04-20Revert part of "Tweak hinting flags to freetype."Tor Andersson
FT_LOAD_TARGET_LIGHT implies the autohinter, which causes spectacular failures on DynaLab fonts. The stripped down freetype we compile with using the "thirdparty" package does not have the autohinter, which is how this bug slipped through the regression testing.
2011-04-15Tweak hinting flags to freetype.Tor Andersson
2011-04-15Use artificial italics and emboldening for substitute font.Tor Andersson
2011-04-15Use DroidSans.ttf as substitute font.Tor Andersson
2011-04-11Add triangle caps; separate start, dash and end cap styles for XPS.Tor Andersson
2011-04-10Make display list struct opaque.Tor Andersson
2011-04-10Make global edge list struct opaque, and remove active edge list struct.Tor Andersson
2011-04-10Make blendmode opaque.Tor Andersson
2011-04-10Make fz_obj struct opaque.Tor Andersson
2011-04-09Throw an error if none of the content stream parts could be loaded.Tor Andersson
2011-04-08Add soft limit to pixmap allocation.Tor Andersson
All image loading functions call the new fz_new_pixmap_with_limit allocation function, which will return NULL if the total amount of pixmap memory would exceed a set limit. Other vital pixmap allocations which are not as easily recoverable (such as font rendering, and the various buffers in the draw device) ignore the limit.
2011-04-08Simplify arguments to fz_new_pixmap.Tor Andersson
2011-04-08Various patches from SumatraPDF.Tor Andersson
2011-04-08Remove inline keyword where it is not strictly necessary for performance.Tor Andersson
Also put the function on the same line for inline functions, so they stick out and are easy to find with grep.
2011-04-08Tweak the display list visibility culling.Tor Andersson
2011-04-08filt_jpxd.c: Fix reference counting error.Tor Andersson
2011-04-08Add special case non-aa scan converter with accompanying blit functions.Tor Andersson
Also turn on font hinting when rendering non-aa text.
2011-04-07Fix bug with gsave/grestore nesting when running tiled patterns.Tor Andersson
2011-04-07Add text antialiasing too.Robin Watts
Update the text rendering code to use the raster renderer in freetype rather than the smooth one. No change to the hinting methods used yet.
2011-04-07Add AA_BITS define to control antialias level of line art.Robin Watts
AA_BITS < 0 => Runtime configurable. AA_BITS = 0 => No antialiasing AA_BITS > 0 => At least that many bits of accuracy (to a max of 8). If unspecified, default is 8, so old behaviour is maintained.
2011-04-07Optimize file seeks that can be done within the buffered data.Tor Andersson
2011-04-07Update README files.Tor Andersson
2011-04-06Rename span to stride, and add gray->bgr fast path image drawing.Tor Andersson
2011-04-06First cut at halftone support. Mono only, 16x16 default halftone.Robin Watts
Add fz_bitmaps (1bpc versions of pixmaps, really). Add fz_halftones (arrays of fz_pixmaps used as threshold arrays). Add simple halftoning code. Add pdfdraw usage of the above (ask for a .pbm and you get a halftoned image).
2011-04-06Rename internal color conversion functions to reflect what they do.Tor Andersson
We used to convert through the XYZ colorspace. For various reasons we changed to convert through RGB instead, but the function names didn't follow suit.
2011-04-06Improve handling of JPX colorspaces.Tor Andersson
2011-04-06fitz: Simplify dev_bbox code.Tor Andersson
2011-04-05Update the display list device to use the new device functions.Tor Andersson
2011-04-05Makefile tweaks.Tor Andersson
2011-04-05Add wrapper functions around device calls.Tor Andersson
They test for NULL and make the code look nicer.
2011-04-04android: Conform to coding convention.Tor Andersson
Use tabs for indentation and no extra spaces to align stuff.
2011-04-04Le Roi est mort, vive le Roi!Tor Andersson
The run-together words are dead! Long live the underscores! The postscript inspired naming convention of using all run-together words has served us well, but it is now time for more readable code. In this commit I have also added the sed script, rename.sed, that I used to convert the source. Use it on your patches and application code.
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.