Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-05-18 | Fix segfault in SVG parser when encountering text data. | Tor Andersson | |
fz_xml_tag returns NULL for non-tag (i.e. text) elements. Use the fz_xml_is_tag function instead of comparing strings. | |||
2018-05-17 | mutool extract: Remove spurious 'break' statement and fix double free. | Tor Andersson | |
2018-05-16 | Don't use pdf_load_object in pdfextract.c | Tor Andersson | |
2018-05-16 | Remove unused variable. | Tor Andersson | |
2018-05-16 | Keep JBIG2 image data compressed in fz_compressed_buffer. | Tor Andersson | |
2018-05-16 | Remove needless deep copy of resource dictionary. | Tor Andersson | |
Also don't bother adding an indirect object for the top resource dict. | |||
2018-05-16 | js: Add Shade.bound function and bbox device example. | 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-05-15 | Bug 699351: Handle glyphs with uncomputable width. | Sebastian Rasmussen | |
Previously if a glyphs units per em was 0 we'd try to divide by zero, now mupdf assumes a default value and continues. | |||
2018-05-11 | Fix 699332: Copy resources when cleaning content streams. | Sebastian Rasmussen | |
Previously if both cleaning and sanitizing content streams the pages' resource dictionaries would retain the actually used resources. If the content streams were only cleaned and not sanitized the page's resource dictionaries were incorrectly emptied. All resources, whether used or not, ought to be retained, as is the case after this commit. | |||
2018-05-10 | Use fz_malloc_no_throw() in JPEG/DCT decoder. | Sebastian Rasmussen | |
Suppose an application that uses MuPDF implements its own allocator that limits the amount of memory that may be allocated. When that condition occurs fz_malloc() will throw an exception, this exception would then be thrown right back to MuPDF without allowing for libjpeg to free any of the memory it has allocated. After this commit fz_malloc_no_throw() is called, which under the same conditions would simply return NULL. allowing for libjpeg to free what ever allocations it has done, and return to MuPDF with an error just like before. | |||
2018-05-09 | Flesh out some more javascript convenience objects. | Tor Andersson | |
Add some missing convenience data objects: font, highlight, position, etc. Add color.convert and color.equal functions. | |||
2018-05-09 | Fix object formatting for null object. | Tor Andersson | |
2018-05-09 | Remove incorrect assertion. | Tor Andersson | |
A 'null' pdf_obj is also NULL. | |||
2018-05-09 | Fix windows: strsep is missing on MSVC, use fz_strsep instead. | Tor Andersson | |
2018-05-09 | Fix 699319: Apply clip path after drawing, not before. | Tor Andersson | |
2018-05-07 | pnm: Remember to always initialize variable. | Sebastian Rasmussen | |
2018-05-03 | Add selector syntax to 'mutool show'. | Tor Andersson | |
2018-05-03 | Tweak 'mutool show ... grep' output. | Tor Andersson | |
2018-05-03 | Fix uninitialized pointer when viewing broken images in muimg.c | Tor Andersson | |
2018-05-02 | Improve error handling in murun shell and update MuJS submodule. | Tor Andersson | |
2018-04-27 | Use pdf_dict_get_int, etc. | Tor Andersson | |
2018-04-27 | Add pdf_dict_get_int, etc. | Tor Andersson | |
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-27 | Add some comments. | Tor Andersson | |
2018-04-25 | Update Noto fonts. | Tor Andersson | |
Import Source Han Serif 1.001. Use serif fonts in preference for sans. | |||
2018-04-25 | Update UCDN. | Tor Andersson | |
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-25 | Default CJK language to traditional chinese. | Tor Andersson | |
2018-04-25 | Try other CJK languages to find missing characters. | Tor Andersson | |
2018-04-25 | Support creating both serif and sans-serif CJK fonts in mutool create. | Tor Andersson | |
Also support Vertical WMode. | |||
2018-04-25 | Use objcopy to compile font resources. | Tor Andersson | |
2018-04-25 | Check in generated Javascript source files. | Tor Andersson | |
Use a sed script to strip comments and whitespace and add escapes and quote it as a C string literal. | |||
2018-04-25 | Clean up javascript source. | Tor Andersson | |
2018-04-25 | Check in generated ICC profiles. | Tor Andersson | |
2018-04-25 | Check in generated CMap source. | Tor Andersson | |
Created with the 'scripts/runcmapdump.sh' script. | |||
2018-04-25 | Update CMaps to latest version. | Tor Andersson | |
Remove UTF8 and UTF32 CMap resources that are not needed for PDF. Add Identity-H and Identity-V resources. Process UCS2/UTF16 and GBK CMaps to usecmap a common subset. | |||
2018-04-25 | Add CMap processing scripts, and turn cmapdump into mutool. | Tor Andersson | |
A dumping script written in python. A flattening script written in python (for easier editing). A subsetting script written in shell to minimize CMaps by reusing subsets. Use 'mutool cmapdump' to bootstrap or verify cmap dumps. | |||
2018-04-25 | Fix 698779: Wrong type for arguments when creating CCITTFax images. | Tor Andersson | |
2018-04-25 | Remove document argument from pdf_new_primitive functions. | Tor Andersson | |
Also remove useless pdf_new_null and pdf_new_bool functions. Use the PDF_NULL, PDF_TRUE, and PDF_FALSE macros instead. | |||
2018-04-25 | Purge unused function: pdf_new_obj_from_str. | Tor Andersson | |
2018-04-25 | Tweak ordering of constant pdf_obj enums to make PDF_NULL == NULL. | Tor Andersson | |
2018-04-24 | Remove need for namedump by using macros and preprocessor. | Tor Andersson | |
Add a PDF_NAME(Foo) macro that evaluates to a pdf_obj for /Foo. Use the C preprocessor to create the enum values and string table from one include file instead of using a separate code generator tool. | |||
2018-04-23 | Avoid SEGV when mudrawing to SVG. | Robin Watts | |
Belt and braces: 1) Don't attempt to close a NULL output stream. 2) If an output stream is NULL when we do close it, don't SEGV. | |||
2018-04-20 | Limit xref parser to read entry contents. | Sebastian Rasmussen | |
Previously if an xref entry looked like: 0000000000 65535 f 1 0 n 2 the xref entry parsing would try to access the scratch buffer outside of the part populated by the read leading to possibly using uninitalized data. | |||
2018-04-20 | Add isdigit convenience macro in xref parsing. | Sebastian Rasmussen | |
2018-04-19 | Support CalRGB (and CalGray) as destination color spaces | Michael Vrhel | |
I did not foresee the case where a transparency groups color space could be a Cal color space. I had always thought of them as only be source color spaces not destination color spaces. This commit makes sure that we have the equivalent ICC profile when the destination is a Cal space. | |||
2018-04-11 | Remove needless #defines in load-jpx.c | Tor Andersson | |