Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-04 | Don't forget to resolve indirect references when clearing dirty flag. | Tor Andersson | |
2018-07-04 | Clean up some incomprehensible code. | Tor Andersson | |
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 | Rename pdf_get_annot_contents to pdf_annot_contents. | Tor Andersson | |
Since the function no longer returns ownership of the string, use the common naming convention. | |||
2018-07-04 | Add fz_is_point_inside_rect utility function. | Tor Andersson | |
2018-07-04 | Allow for CIDToGIDMap in font being "/Identity". | Robin Watts | |
Previously we would have tripped over this, thrown an error and aborted loading the whole page. Any non-stream, non "Identity" CIDToGIDMaps now produce a warning rather than an error so we don't stop processing the entire page. | |||
2018-06-22 | Update base 14 fonts to URW++ release from 2017-07-27. | Tor Andersson | |
The Dingbats and Symbol fonts have not been changed. | |||
2018-06-22 | Avoid leaking reference to "form" object. | Robin Watts | |
2018-06-22 | Improve reference handling. | Robin Watts | |
2018-06-22 | Don't pollute namespace with our 'restrict' macro. Use FZ_RESTRICT instead. | Tor Andersson | |
2018-06-22 | Tokenize on all whitespace when parsing DA string. | Tor Andersson | |
2018-06-22 | Size singleline widget text to fit both width and height. | 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 | Create appearance streams for Comb text fields. | Tor Andersson | |
2018-06-22 | Keep copy of decoded utf8 text string in pdf_obj. | Tor Andersson | |
Removes the need to alloc/free text strings in the API, allowing for simple functions like pdf_dict_get_text_string. | |||
2018-06-22 | Look up DA in Root/AcroForm/DA if missing in annotation property. | Tor Andersson | |
2018-06-22 | Merge pdf-annot.c and pdf-annot-edit.c (2/2). | Tor Andersson | |
2018-06-22 | Merge pdf-annot.c and pdf-annot-edit.c (1/2). | Tor Andersson | |
2018-06-22 | Move link code to pdf-link.c. | Tor Andersson | |
2018-06-22 | Fix error check in AFPercent_Format to look for null rather than false. | Tor Andersson | |
The number 0 is a valid percentage number. | |||
2018-06-22 | Call AA/F formatting when synthesizing appearance stream. | Tor Andersson | |
2018-06-22 | Use line spacing and padding when creating variable text appearance. | Tor Andersson | |
Format single-line Widget/Tx fields vertically centered. | |||
2018-06-22 | Support annot/MK/R property in Tx and Ch widget annotations. | Tor Andersson | |
2018-06-22 | Support undocumented annot/Rotate property in FreeText annotations. | Tor Andersson | |
2018-06-22 | Remove rich text properties when editing annotation contents or styles. | Tor Andersson | |
We do not support rich text content; remove the properties rather than leave them untouched and out of sync with the simple contents and styles. | |||
2018-06-22 | Use /Tx BMC ... EMC when creating text widget appearance streams. | Tor Andersson | |
2018-06-22 | Support rotated QuadPoints when generating markup annotation appearances. | Tor Andersson | |
2018-06-22 | Create appearance streams for annotations. | Tor Andersson | |
Now handles more annotation types, and does not use the pdf-write device. Handles many of the usual annotation properties, such as border width, color, interior color, line ending styles. * Ink * Highlight, Underline, Strike-Out, Squiggly * Line (with arrow-heads) * Polygon * PolyLine * Square * Circle * Caret * Text (needs better icons) * FileAttachment (needs better icons) * Sound (needs better icons) * Stamp * FreeText Partially complete: * Widget (treats everything like a plain text field) Not done, but on the to-do list: * /BS style (solid/dashed/bevel/inset/underline) * /BS dash pattern Not done and not on the list: * Movie * Screen * Printer's Mark * Trap Network * Watermark * /Border corner radii (ignored by acrobat) * /BE cloudy border effect | |||
2018-06-22 | Remember the md5 digest in the fz_font struct. | Tor Andersson | |
2018-06-22 | Cache base14 and CJK fonts. | Tor Andersson | |
Do not cache PDF fonts, since they have custom metrics and encodings that cannot be shared. This is primarily to speed up font loading for EPUB, PDF appearance synthesis, and any other uses of default metrics and unicode encoded fonts. | |||
2018-06-22 | Add pdf_dict_get_name function. | Tor Andersson | |
2018-06-22 | Check pointer for NULL in fz_free before locking. | Tor Andersson | |
2018-06-21 | Allow signature saving using pdf_write_document | Paul Gardiner | |
It is safe to save a document with unsaved signatures to an fz_output, provided it supports fz_stream_from_output. | |||
2018-06-12 | Run both V and F additional actions when setting field values. | Tor Andersson | |
2018-06-11 | Use bin2coff to generate font data blobs object files. | Tor Andersson | |
This is the windows equivalent of objcopy or ld -r binary. We need different bin2coff font object files for 32 and 64 bit builds, so put the font object files in AdditionalDependencies. Revamp Windows builds to use bin2coff. Fix bin2coff to not use '-' in symbol names. Add a new project file to make bin2coff. Add a .rules file to tell MSVC how to call the built version of bin2coff. Update libresources build to use this rules file. Update noto.c to correctly find the symbols we make. | |||
2018-06-02 | Rework XObject form creation/updating. | Tor Andersson | |
2018-06-02 | mutool show: Add support for wildcards in path syntax. | Tor Andersson | |
Example: mutool show $PDF pages/*/Resources/Fonts/*/Subtype | |||
2018-06-02 | Add a fz_strnlen function (strnlen is not standard C). | Tor Andersson | |
2018-06-01 | Fix loss of reference to focussed annotation when rereading annotations | Paul Gardiner | |
2018-05-18 | Fix 699368: Remember 'sent' text state in sanitize filter. | Tor Andersson | |
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. |