summaryrefslogtreecommitdiff
path: root/pdf/pdf_parse.c
AgeCommit message (Collapse)Author
2011-09-06Support empty and little-endian UTF-16 strings.Tor Andersson
Also don't read out of bounds if the string is cut short in the middle of the last two-byte character.
2011-05-31Fix assert in scale: see Bug 692245.Robin Watts
Bug 692245 gives a file that produces a runtime assert in mupdf due to an extremely large ctm offset (unrepresentable in a float). We fix our code here so that such floats are always read as 1.0. In this particular case, the exact value read doesn't seem to matter. We match acrobat. We pick 1.0 rather than 0.0 as this is less likely to provoke division by 0 errors later on.
2011-04-08pdf: add pdf_from_ucs2 to encode a unicode string in pdfdocencoding.Tor Andersson
For use by SumatraPDF to check passwords.
2011-04-04Le Roi est mort, vive le Roi!Tor Andersson
The run-together words are dead! Long live the underscores! The postscript inspired naming convention of using all run-together words has served us well, but it is now time for more readable code. In this commit I have also added the sed script, rename.sed, that I used to convert the source. Use it on your patches and application code.
2011-04-04pdf: Rename mupdf directory.Tor Andersson