summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-appearance.c
AgeCommit message (Collapse)Author
2014-02-25Delete unused variablePaul Gardiner
2014-02-25Support text (aka sticky note) annotationsPaul Gardiner
2014-01-08fuzzing fix for null colorspace derefence.Robin Watts
Bad annotation appearance streams can cause font_recs to have invalid values in. Avoid this partly by hardening the code against duff values, and partly by setting sane defaults before the parsing. This can be seen in: 33bfbe117bfef7fafc3f927acf50a2e7_signal_sigsegv_81dd96_6257_5205.pdf Thanks to Mateusz Jurczyk and Gynvael Coldwind of the Google Security Team for providing the example files.
2014-01-02Bug 694729: Rounding the InkPaul Gardiner
Use round caps and joins so as to better match the result of drawing, and also so that single dots display. Thanks to Michael Cadilhac for the suggestion.
2013-11-05Fix bug 694730: Wrong bbox in one-point ink annotationPaul Gardiner
Zero and one-point case both lead to an empty rectangle, but the one-point case needs expanding but wasn't because fz_expand_rect treats an empty rectangle as a special case (as it should)
2013-09-13Fix various compile warnings spotted by the cluster.Robin Watts
2013-08-28Add MuPDF logo to signature appearancePaul Gardiner
2013-08-13Signature creationPaul Gardiner
2013-08-13Insert the extra layers required for a signature-appearance streamPaul Gardiner
2013-08-13Add support for creating signature-field appearance streamsPaul Gardiner
2013-08-07Use ascender and descender to determine line skipPaul Gardiner
We should use the leading, if present, and if not present we should probably use a value a little greater than the sum of the ascender and descender, but this is definitely a step in the right direction and improves the look of filled-in forms.
2013-08-02Correctly account for alterations to xobject matrix and bboxPaul Gardiner
2013-08-02Handle more color cases in DA handlingPaul Gardiner
2013-08-02Improve naming consistencyPaul Gardiner
2013-07-30For freetext annotations, distinguish device and page space correctly.Paul Gardiner
2013-07-29Add support for freetext annotationsPaul Gardiner
This initial commit doesn't entirely complete the task: 1) There are a couple of ucs<->winansi conversions left out, 2) The text displayed by the appearance string can slightly overflow the annotation rectangle.
2013-07-22Collect together all code to do with appearance-stream creationPaul Gardiner