Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-09-08 | Start to rework plotters. | Robin Watts | |
2017-09-08 | Update fz_separations equivalent color mechanism. | Robin Watts | |
Incorporates fixes from Michael. Rather than specifically giving it rgb and cmyk values, separations now include the colorspace. Conversions can then be done into ANY colorspace we need. Note, that we maintain the old way of working for the gproof device. Also, fix pdf_page_separations to correctly find all separations. This involves recursively looking through colorspaces, forms and shadings for colorspaces therein, making sure we don't run into any circular references. We do 2 passes, so that we can pick up as many colorants as Separations as possible. On the second pass we pick up any colorants we missed in terms of DeviceN spaces. The purpose of this is to try to ensure that we get as many tint transforms as single input functions as we can. This may not be important in the grand scheme of things, but seems neater. | |||
2017-09-08 | Update draw device to cope with spots. | Robin Watts | |
If draw device is passed a pixmap with disabled separations, it may have to push an extra group at the top to allow for the actual rendering to properly happen in cmyk+spots, and then get folded down at the end. This pushing cannot happen at create time, due to it being dependent on the defualt_cs settings. Accordingly, we push it (just once) on the first drawing operation. This means we need to be able to convert from "colorspace + set of spots" to "different colorspace + different set of spots". This in turn means we need to be able to drive lcms slightly differently (to tell it whether to copy the spots unchanged or not), so we have to amend the CMS interface code a bit for that. Currently we lack plotters to properly cope with plotting images and shades with spots, so this will give a warning and do nothing. To be filled in in future commits. Ensure fz_get_icc_link accepts NULL to mean default color params. Incorporates fixes from Michel Vrhel: With transparency groups we can have RGB + spot pixmaps. When drawing into those we need a mixture of colorant polarity. Ensure that fz_convert_separation_colors takes account of this. Fix C1 of Altona_Technical_1v1_x3.pdf (allow for output intent in fz_clone_pixmap_area_with_different_seps). | |||
2017-09-08 | Squash 64bit build warning. | Robin Watts | |
2017-09-08 | Remove unnecessary conditional. | Robin Watts | |
The conditional is always == 255 here. | |||
2017-09-08 | Fix return of void function in jbig2 code. | Robin Watts | |
2017-09-08 | Remove unnecessary fz_try()/fz_catch(). | Sebastian Rasmussen | |
2017-09-07 | Make sure to always drop a fz_device even upon error. | Sebastian Rasmussen | |
2017-09-07 | Initialize variables to appease clang scan-build. | Sebastian Rasmussen | |
2017-09-05 | Make luratech decoder glue compile after interface changes. | Sebastian Rasmussen | |
2017-08-28 | Remove code that no longer compiles. | Sebastian Rasmussen | |
fz_dump_gel() was removed in commit 9a725130b9b16daa332f8502e24eac9cab4cf9b2. | |||
2017-08-21 | Fix 698374: Compute line and block bounding boxes when device closes. | Tor Andersson | |
2017-08-21 | Make fz_stext_block and fz_stext_line double linked lists. | Tor Andersson | |
2017-08-21 | Remove fz_char_and_box struct. | Tor Andersson | |
Use fz_stext_char directly instead. | |||
2017-08-21 | Remove redundant fz_stext_char_bbox function. | Tor Andersson | |
2017-08-17 | Add PS document writer. | Tor Andersson | |
2017-08-17 | Remove redundant NULL check. | Tor Andersson | |
fz_colorspace.name is an array, not a pointer, so will never be NULL. | |||
2017-08-17 | Only load the alpha channel in PNG images when it is present. | Tor Andersson | |
2017-08-17 | Add PCL document writer. | Tor Andersson | |
Fix color PCL writing bugs introduced when making alpha channels in pixmaps optional. | |||
2017-08-17 | Add PWG document writer. | Tor Andersson | |
Option parsing is not implemented yet. | |||
2017-08-17 | Detect bold/italic by also checking the font name. | Tor Andersson | |
2017-08-17 | Use font name in HTML output. | Tor Andersson | |
2017-08-17 | Detect superscript style in stext html/xhtml output. | Tor Andersson | |
2017-08-17 | Add direction of writing vector to fz_stext_line struct. | Tor Andersson | |
For non-rotated text, this vector will always be [1 0]. | |||
2017-08-17 | Add FZ_REPLACEMENT_CHARACTER define for U+FFFD character. | Tor Andersson | |
2017-08-17 | Simplify stext structure and device. | Tor Andersson | |
* Use pool allocator and linked lists for all levels. * Remove separate fz_stext_sheet struct. * Remove unused 'script' style. * Remove 'span' level items. * Detect visual/logical RTL layouts. * Detect indented paragraphs. | |||
2017-08-16 | Allow access to an indexed colorspace's color entries. | Sebastian Rasmussen | |
2017-08-15 | Place space/zero padding correctly before/after sign. | Sebastian Rasmussen | |
2017-08-15 | Move sign printing into inner formatting functions. | Sebastian Rasmussen | |
2017-08-15 | Support printing flags in any order. | Sebastian Rasmussen | |
2017-08-15 | Do not try to print sign for unsigned values. | Sebastian Rasmussen | |
2017-08-15 | Remove unused octal value printing support. | Sebastian Rasmussen | |
2017-08-15 | Move S_ISDIR workaround to common header file. | Sebastian Rasmussen | |
Might be useful in locations other than directory.c. | |||
2017-08-09 | Render shadings to images in stext-device. | Tor Andersson | |
2017-08-09 | Put XHTML images inside a <p> tag (make them block level). | Tor Andersson | |
2017-08-09 | Add common fz_write_image_as_data_uri function for HTML and SVG output. | Tor Andersson | |
Also ensure we don't write CMYK JPEG images. | |||
2017-08-07 | Avoid scavenging 0 bytes from store when allocating 0 bytes. | Sebastian Rasmussen | |
2017-08-07 | Set custom allocator for JBIG2 library. | Sebastian Rasmussen | |
2017-08-07 | Set custom memory allocator for FreeType. | Sebastian Rasmussen | |
2017-07-27 | Add text format document writer. | Tor Andersson | |
Improve HTML output using absolute positioning, and add XHTML output for simpler semantic html output. | |||
2017-07-27 | Add fz_write_base64 function. | Tor Andersson | |
2017-07-27 | Use "DeviceRGB" name for ICC based device colorspaces too. | Tor Andersson | |
2017-07-27 | Fix clearing of cmyk + spots pixmaps. | Robin Watts | |
2017-07-27 | Fix issue in alpha indexing | Michael Vrhel | |
Spot colors were getting bogus (typically 0xcd) alpha applied to them during drawing. | |||
2017-07-27 | Fix upper bounds checks on lerp image painting. | Robin Watts | |
2017-07-21 | Rename shadowing flag variable to reduce potential confusion. | Tor Andersson | |
2017-07-21 | Allow caching of rendered tiles when using the display list. | Tor Andersson | |
2017-07-21 | Only try caching tiles once. | Tor Andersson | |
Don't try to re-cache a tile we fetched from the cache. | |||
2017-07-21 | Distinguish hash slot overwrite cases. | Tor Andersson | |
2017-07-21 | Remove (now needless) extern strlen declaration. | Tor Andersson | |
A leftover from when fz_write_string was a static inline in a header file. |