From 42d396f1dd8d38294e45b14021cd72c13850a53b Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 18 Aug 2019 21:26:19 -0400 Subject: Handle invalid name tokens symmetrically for PDF < 1.2 (fixes #332) --- manual/qpdf-manual.xml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'manual/qpdf-manual.xml') diff --git a/manual/qpdf-manual.xml b/manual/qpdf-manual.xml index fdd34122..edf61bdb 100644 --- a/manual/qpdf-manual.xml +++ b/manual/qpdf-manual.xml @@ -4324,6 +4324,15 @@ print "\n"; QPDFOutlineObjectHelper objects. + + + Remove method + QPDFTokenizer::allowPoundAnywhereInName. + This function would allow creation of name tokens whose + value would change when unparsed, which is never the correct + behavior. + + When qpdf --check or qpdf @@ -4508,6 +4517,17 @@ print "\n"; are now presented as warnings. + + + Name tokens containing the # character + not preceded by two hexadecimal digits, which is invalid in + PDF 1.2 and above, are properly handled by the library: a + warning is generated, and the name token is properly + preserved, even if invalid, in the output. See + ChangeLog for a more complete + description of this change. + + -- cgit v1.2.3-54-g00ecf