From 07a2bb332d5e352fb6a339f6f44268a41a14a0a2 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Tue, 22 Feb 2022 08:03:13 -0500 Subject: Add documentation and release notes around 0 Tf issue --- TODO | 4 ++++ job.sums | 2 +- manual/cli.rst | 4 ++++ manual/release-notes.rst | 8 ++++++++ 4 files changed, 17 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index 07cdb6be..c1b1b440 100644 --- a/TODO +++ b/TODO @@ -315,6 +315,10 @@ we might do about it. misc/character-encoding/ (not on github) and font metric information for the 14 standard fonts in my local pdf-spec directory. +* Once we know about character widths, we can correctly support + auto-sized variable text fields (0 Tf). If this is fixed, search for + "auto-sized" in cli.rst. + Fuzz Errors =========== diff --git a/job.sums b/job.sums index c2cc3328..b42c2f85 100644 --- a/job.sums +++ b/job.sums @@ -14,4 +14,4 @@ libqpdf/qpdf/auto_job_json_decl.hh c5e3fd38a3b0c569eb0c6b4c60953a09cd6bc7d3361a3 libqpdf/qpdf/auto_job_json_init.hh b070350d304d137ba594c1ba40b373137e8459735f04b8ca0f8a2ffd1908c69e libqpdf/qpdf/auto_job_schema.hh 18a3780671d95224cb9a27dcac627c421cae509d59f33a63e6bda0ab53cce923 manual/_ext/qpdf.py e9ac9d6c70642a3d29281ee5ad92ae2422dee8be9306fb8a0bc9dba0ed5e28f3 -manual/cli.rst 2dd5e5a9c0440aea65ed0a2bf6239aa6662afdb463224aafdc116a8a676dbc20 +manual/cli.rst aa44cbe7b6281ee05dc8b19ee1b12ca770503681ffc8ba90e795fc3c3b55153d diff --git a/manual/cli.rst b/manual/cli.rst index 147cd71e..8dabaced 100644 --- a/manual/cli.rst +++ b/manual/cli.rst @@ -1587,6 +1587,10 @@ Related Options :command:`qpdf` does not know enough about fonts and encodings to correctly represent characters that fall outside of this range. + - For variable text fields where the default appearance stream + specifies that the font should be auto-sized, a fixed font size + is used rather than calculating the font size. + - Quadding is ignored. Quadding is used to specify whether the contents of a field should be left, center, or right aligned with the field. diff --git a/manual/release-notes.rst b/manual/release-notes.rst index 6e6bcd50..daec3b25 100644 --- a/manual/release-notes.rst +++ b/manual/release-notes.rst @@ -6,6 +6,14 @@ Release Notes For a detailed list of changes, please see the file :file:`ChangeLog` in the source distribution. +10.6.3: XXX + - Bug fixes: + + - Fix edge cases with appearance stream generation for form fields + whose ``/DA`` field lacks proper font size specification or that + specifies auto sizing. At this time, qpdf does not support auto + sizing. + 10.6.2: February 16, 2022 - Bug fixes: -- cgit v1.2.3-54-g00ecf