Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-11-13 | Use fz_image.imagemask field when adding PDF image resources. | Tor Andersson | |
Don't pass the information as a separate argument. | |||
2018-11-12 | Fix 697687: Use #if rather than #ifdef HAVE_SIGSETJMP. | Tor Andersson | |
Allows to turn it off with make XCFLAGS=-DHAVE_SIGSETJMP=0 or by adding -DHAVE_SIGSETJMP=0 to the relevant Makerules section. | |||
2018-11-07 | Add explicit jmp_buf dereferencing to allow using fz_try from C++. | Tor Andersson | |
2018-10-26 | Rewrite try/always/catch macros to allow fz_context to be opaque. | Tor Andersson | |
Hide fz_stack_slot and exception handling details too. Also make sure we have an initialized jmp_buf so we can safely throw from the always block even in the exception stack overflow case. | |||
2018-10-25 | Handle premultiplied alpha in pixmap color conversions (CMYK only). | Tor Andersson | |
2018-10-25 | Add and use fz_convert_pixmap_samples helper function. | Tor Andersson | |
2018-10-25 | Make alpha channel unmultiply and premultiply utility functions public. | Tor Andersson | |
2018-10-25 | Rename NO_ICC to FZ_ENABLE_ICC=0|1 to match other config.h options. | Tor Andersson | |
2018-10-23 | Remove extra blank lines. | Tor Andersson | |
2018-10-23 | Fix FZ_ENABLE_SPOT_RENDERING config.h ifdeffery. | Tor Andersson | |
2018-10-23 | Add Emscripten / WebAssembly build. | Tor Andersson | |
Requires Linux (or possibly MacOS X) and an installed emsdk to build. | |||
2018-10-23 | Add fz_write_pixmap_as_data_uri helper function. | Tor Andersson | |
Also include "data:" schema in the data uri for fz_write_image_as_data_uri. | |||
2018-10-23 | Allow SVG output to keep ID numbers unique across pages. | Tor Andersson | |
This is required if embedding multiple SVG documents in a web page, for example. | |||
2018-09-25 | Bump version number to 1.14.0 | Tor Andersson | |
2018-09-21 | Add fz_lookup_cjk_font_by_name to create builtin CJK fonts. | Tor Andersson | |
2018-09-21 | Regularize language and script names. | Tor Andersson | |
Drop the unused 'serif' argument to the CJK lookup functions. Use the BCP 47 names for CJK scripts and languages: zh-Hant for traditional Chinese, zh-Hans for simplified Chinese, ja for Japanese, ko for Korean. The lookup function also allows commonly used language+country codes: zh-TW and zh-HK for traditional Chinese, zh-CN for simplified Chinese. | |||
2018-09-20 | Be consistent in use of #if FZ_ENABLE_... | Robin Watts | |
Using #ifdef FZ_ENABLE_ means we build code in, even if we have defined FZ_ENABLE_WHATEVER to be 0 (as we do in config.h). | |||
2018-09-19 | Make fz_page objects singleton. | Tor Andersson | |
Keep a list of currently open pages for each document. Attempting to load a page that is already loaded will return the same instance again. | |||
2018-09-13 | Make naming of effective overprint argument consistent. | Sebastian Rasmussen | |
2018-09-05 | Add fz_new_stext_page_from_annot utility function. | Tor Andersson | |
2018-09-05 | Use colorspace type enum instead of magic profile names. | Tor Andersson | |
2018-08-22 | Remove the old 'nested depth' tracking. | Tor Andersson | |
This was used to prevent infinite cycles in the Type3 font CharProcs, but the previous commits forbids all cycles in order to prevent memory leaks due to cyclic reference counts. | |||
2018-08-10 | The proper term is apparently 'filename extension', not 'suffix'. | Tor Andersson | |
2018-08-10 | Clean up null/range/endstream filter. | Tor Andersson | |
Use separate functions to keep the code simpler. Use memmem to simplify and optimize search for 'endstream' token. Do not look for 'endobj' since that could cause a false positives in compressed object streams that have duff lengths. | |||
2018-08-10 | Add fz_memmem function taken from musl libc. | Tor Andersson | |
2018-07-06 | Bug 699308: Fix stream reading logic to better cope with duff Lengths. | Robin Watts | |
Always look for the "endstream" marker after a PDF stream to see if we've hit the end. Allow for "endobj" to cope with producers that omit endstream entirely. Avoid slowing down legal files by only checking for the end marker after the specified length has been read. | |||
2018-07-05 | Add fz_transform_page helper function. | Tor Andersson | |
Create a matrix that transforms a page with resolution and rotation, and grid fits the resulting bounding box. | |||
2018-07-05 | Pass rects by value: device and document interface. | Tor Andersson | |
2018-07-05 | Pass matrices by value: device and document interface. | Tor Andersson | |
2018-07-05 | Pass rect and matrix by value in geometry functions. | Tor Andersson | |
Several things irk me about passing values as const pointers: * They can be NULL, which is not a valid value. * They require explicit temporary variables for storage. * They don't compose easily in a legible manner, requiring weird pointer passing semantics where the variable being assigned is hidden as an argument in the innermost function call. * We can't change the value through the pointer, requiring yet more local variables to hold copies of the input value. In the device interface where we pass a matrix to a function, we often find ourselves making a local copy of the matrix so we can concatenate other transforms to it. This copying is a lot of unnecessary busywork that I hope to eventually avoid by laying the groundwork with this commit. This is a rather large API change, so I apologize for the inconvenience, but I hope the end result and gain in legibility will be worth the pain. | |||
2018-07-04 | Add fz_snap_selection function to snap selection to chars/words/lines. | Tor Andersson | |
Updates the input point coordinates, and also returns a quad with appropriate UI handles. | |||
2018-07-04 | Add fz_is_point_inside_rect utility function. | Tor Andersson | |
2018-06-22 | Don't pollute namespace with our 'restrict' macro. Use FZ_RESTRICT instead. | Tor Andersson | |
2018-06-22 | Use fz_quad type in structured text and selection/highlighting. | Tor Andersson | |
2018-06-22 | Add fz_quad type. | Tor Andersson | |
2018-06-22 | Remember the md5 digest in the fz_font struct. | Tor Andersson | |
2018-06-02 | Fix include file ifdefs when building with -std=c11. | Tor Andersson | |
2018-06-02 | Add a fz_strnlen function (strnlen is not standard C). | Tor Andersson | |
2018-05-16 | Keep JBIG2 image data compressed in fz_compressed_buffer. | Tor Andersson | |
2018-05-16 | Purge unused functions. | Tor Andersson | |
2018-05-16 | Restore Emoji font. | Tor Andersson | |
The Noto symbol font has been split into two. The second symbol font only contains a subset of the emojis, so reinstate the real emoji font and add both symbol fonts to the fallback chain. | |||
2018-04-27 | Handle multi-page image formats in muimg document driver. | Tor Andersson | |
Remove the mutiff document type. | |||
2018-04-27 | Support multipage pnm images. | Sebastian Rasmussen | |
2018-04-25 | Don't use WMode as part of CJK font lookup. | Tor Andersson | |
Return TTC subfont index from fz_lookup_noto_font. | |||
2018-04-12 | Update CHANGES and bump version. | Tor Andersson | |
2018-04-11 | Rework how we handle DynaLab tricky fonts in freetype. | Tor Andersson | |
Force the face_flags to include TRICKY if we detect a DynaLab font name instead of trying to force hinting ourselves. | |||
2018-04-03 | Android: Scavenge on Bitmap.lockPixels() failure. | Robin Watts | |
If Bitmap.lockPixels fails with an allocation error, scavenge in the store. | |||
2018-04-03 | Fix VS2008 build. | Robin Watts | |
Ken reports that a VS2008 import of the projects fails with complaints about __restrict whereever stdlib.h is included. Fix the #ifdeffery so that we don't mess with it on VS2008. | |||
2018-03-22 | Add more version number #defines. | Tor Andersson | |
2018-03-22 | Add fz_output encoding filters. | Tor Andersson | |