Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-12-19 | SVG output: Fix dropped group alpha. | Robin Watts | |
2016-12-16 | Fix memory leaks on errors in text searching utility functions. | Tor Andersson | |
2016-12-14 | Have callers of fz_new_image_from_pixmap() drop supplied mask. | Sebastian Rasmussen | |
This makes handling of the mask identical to that of the pixmap argument. | |||
2016-12-14 | jpx: Delay determining if colorspace is indexed. | Sebastian Rasmussen | |
2016-12-14 | jpx: Quietly limit number of components for openjpeg decoder. | Sebastian Rasmussen | |
2016-12-14 | jpx: Create openjpeg decoder state. | Sebastian Rasmussen | |
This allows for communicating the colorspace without using a pixmap. | |||
2016-12-14 | jpx: Only do YCC-to-RGB conversion if decoding image samples. | Sebastian Rasmussen | |
2016-12-14 | jpx: Optimize sample writing function. | Sebastian Rasmussen | |
2016-12-14 | jpx: Delay reading metadata until parsing samples where possible. | Sebastian Rasmussen | |
2016-12-14 | jpx: Only compute signed offsets once. | Sebastian Rasmussen | |
2016-12-14 | jpx: Use local variables instead of repeatedly dereferencing state. | Sebastian Rasmussen | |
2016-12-14 | jpx: Share YCC-to-RGB conversion for luratech/openjpeg decoders. | Sebastian Rasmussen | |
2016-12-14 | jpx: Move state which is not shared among functions to decoder stack. | Sebastian Rasmussen | |
In the case of fz_context *, use that for the allocator callbacks. | |||
2016-12-14 | jpx: Use macro to check for palette. | Sebastian Rasmussen | |
2016-12-14 | jpx: Max components is known, so avoid allocating arrays. | Sebastian Rasmussen | |
2016-12-14 | jpx: Use fz_context directly, don't wrap it in state. | Sebastian Rasmussen | |
2016-12-14 | jpx: Reuse structs for luratech/openjpeg decoders. | Sebastian Rasmussen | |
2016-12-14 | jpx: Remove unused struct. | Sebastian Rasmussen | |
2016-12-14 | jpx: Plug pixmap leak in case of error during decoding. | Sebastian Rasmussen | |
2016-12-14 | Let pixmap colorspace conversion create new pixmap. | Sebastian Rasmussen | |
This moves dropping the converted pixmap into fz_convert_pixmap(), which relieves every caller from doing so. Moreover resolution, position and interpolation are kept. | |||
2016-12-14 | Create a pixmap color converter. | Sebastian Rasmussen | |
This is in preparation for moving fz_convert_pixmap() out of colorspace.c. | |||
2016-12-14 | Always create colorless pixmaps with alpha. | Sebastian Rasmussen | |
2016-12-14 | Plug pixmap leak when fz_convert_pixmap() throws. | Sebastian Rasmussen | |
2016-12-12 | Add fz_remove to cope with utf-8 file names on windows. | Tor Andersson | |
2016-12-12 | Ensure we don't clobber files in fz_new_output_with_path. | Tor Andersson | |
When saving a PDF to the same file name as the one that is open, we risk clobbering it by truncating the source file. Remove the old file first! Removing an open file will not work on windows, but there we will throw an EACCESS error rather than clobber the file! | |||
2016-11-23 | Add ptrdiff_t formatting support to fz_vsnprintf(). | Sebastian Rasmussen | |
2016-11-23 | fz_vsnprintf() can simply use bitwidth of given types. | Sebastian Rasmussen | |
2016-11-23 | jxr: Plug pixmap leak upon error converting CMYK image to RGB. | Sebastian Rasmussen | |
2016-11-23 | Add toggle to enable/disable document styles. | Tor Andersson | |
2016-11-23 | Update UCDN database to Unicode 9.0.0. | Sebastian Rasmussen | |
2016-11-22 | Fix fz_warn() format compiler warning. | Sebastian Rasmussen | |
2016-11-16 | Bug 697301: Fix "crash" in epub. | Robin Watts | |
Actually an assert. This is caused by a paragraph separator in the text. The Unicode Bidirectional Algorithm says we should operate paragraph by paragraph, and includes code to split paragraphs at paragraph markers, changing their type to boundary neutrals as it goes. The use of this code was left "as an exercise for the reader" in the example code, so we simply hook it up here. | |||
2016-11-16 | Fix warning. | Tor Andersson | |
2016-11-15 | Fix compiler warning. | Robin Watts | |
's' is char * and unsigned char * is expected. | |||
2016-11-14 | pdf: Use URI dictionary for relative URIs. | Tor Andersson | |
2016-11-14 | More API tweaks. | Robin Watts | |
Move internal functions from public to private headers. | |||
2016-11-14 | Make fz_buffer structure private to fitz. | Robin Watts | |
Move the definition of the structure contents into new fitz-imp.h file. Make all code outside of fitz access the buffer through the defined API. Add a convenience API for people that want to get buffers as null terminated C strings. | |||
2016-11-14 | Workaround 0 line-width strokes in svg output. | Robin Watts | |
A line width of 0 has special meaning in PDF files. SVGs don't understand it, so modify our SVG output device to send all line widths smaller than 1 as being 1. | |||
2016-11-14 | Add/fix page coordinates to link targets. | Tor Andersson | |
Correctly transformed target coordinates for PDF. Target coordinates for EPUB and HTML. | |||
2016-11-11 | API improvements. | Robin Watts | |
Add missing API comments. Move private definitions to implementation headers or C files. Move internal functions to implementation headers. | |||
2016-11-10 | Add minimum line width configuration option. | Robin Watts | |
2016-11-08 | Clean up braces and indentation in fz_paint_affine_near/lerp. | Tor Andersson | |
2016-11-07 | Move fz_new_draw_device_with_options within file. | Robin Watts | |
Move function definition to the bottom of the file. This keeps the debug/config #definery at the top of the file where it belongs. | |||
2016-11-07 | Bug 697241: Fix blending through clips. | Robin Watts | |
Non rectangular clips are currently handled by rendering to a 'isolated' background, and then plotting that through a mask. This runs into problems when the rendering needs to use non standard blend modes that need to access the background colors. Instead, copy the background to the new pixmap, render to that then plot that through the mask. This simplifies the painting code, because we now never have mismatched source and destination alphas. | |||
2016-11-07 | Fix DUMP_GROUP_BLENDS debugging code. | Robin Watts | |
fz_save_pixmap_as_png has changed signature since this was last used. | |||
2016-11-05 | Fix Memento bug. | Robin Watts | |
while (i >= 0) { ... i -= 4; } doesn't work well when i is unsigned. | |||
2016-11-04 | Avoid warning in memento builds. | Robin Watts | |
2016-11-04 | Avoid warnings in 64bit windows builds of luratech bindings. | Robin Watts | |
2016-11-04 | Squash 64bit warning in Commercial JBIG2 bindings. | Robin Watts | |
2016-11-03 | Memento: Silence MSVC warnings | Robin Watts | |
For security and x64 builds. |