summaryrefslogtreecommitdiff
path: root/pdf/pdf_fontps.h
Commit message (Collapse)AuthorAgeFilesLines
* Update postal address in file headersChris Liddell2023-04-041-3/+3
|
* oss-fuzz 46672: Avoid PS stack extensions from pdfi errorChris Liddell2022-04-141-2/+2
| | | | | | | | | | | | | | pdfi was using the standard gs_error_stackoverflow error code when the pdfi operand stack overflowed. Returning that to the Postscript interpreter caused the interpreter to attempt to extend the Postscript op stack with a new block with zero requested new elements. This, in turn, caused the garbage collector to traverse the previous op stack block, and find no longer valid objects. Leading to trying to mark objects freed by a restore. The solution is to add a specific gs_error_pdf_stackoverflow, so we can still signal the appropriate error, but avoid confusing the Postscript interpreter.
* oss-fuzz 43680: Cope with out-of-memory error in stack extensionChris Liddell2022-01-181-1/+4
| | | | | | The minimal PS-like interpreter in pdfi allows the operand stand to be extended, but the code was missing handling of the memory allocation failing for the extended stack.
* GhostPDF - Tidy up headers in ghostpdf.hKen Sharp2021-08-131-0/+2
| | | | | | | | | | | | | This file was originally copied from the XPS interpreter verbatim, and included a load of .h files which were then included needlessly in all of the C files. This removes almost all the .h files from ghostpdf.h; we keep gserrors.h since so many C files do actually use it to report errors, and gxgstate.h which is used in ghostpdf.h The various C and H files have been updated to pull in the include files they actually need.
* Commit pdfi to master.Robin Watts2021-08-121-0/+349
This is a commit of the pdfi branch to master, eliminating the traditional merge step. The full history of the pdfi branch can be seen in the repo, and that branch is effectively frozen from this point onwards. This commit actually differs from pdfi in a small number of whitespace changes (trailing spaces etc).