[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop: document xmp compression (60da9f0)

Ulrike Fischer fischer at troubleshooting-tex.de
Sun Sep 4 11:53:29 CEST 2022


Repository : https://github.com/latex3/pdfresources
On branch  : develop
Link       : https://github.com/latex3/pdfresources/commit/60da9f08805b7b7e65c96324f41781cae1c11c58

>---------------------------------------------------------------

commit 60da9f08805b7b7e65c96324f41781cae1c11c58
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sun Sep 4 11:53:29 2022 +0200

    document xmp compression


>---------------------------------------------------------------

60da9f08805b7b7e65c96324f41781cae1c11c58
 CHANGELOG.md            | 5 +++++
 l3backend-testphase.dtx | 8 ++++++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 32ce2b1..7c4eb01 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,11 @@ first release 0.95a, 2021-02-23 will be documented in this file.
 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 this project uses date-based 'snapshot' version identifiers.
 
+## [Unreleased]
+
+### Changed
+ - XMP-Metadata are uncompress (if supported by the engines).
+
 ## [2022-08-24]
 
 ### Changed
diff --git a/l3backend-testphase.dtx b/l3backend-testphase.dtx
index 3cca8d2..4ad10fc 100644
--- a/l3backend-testphase.dtx
+++ b/l3backend-testphase.dtx
@@ -2006,11 +2006,15 @@
 %    \end{macrocode}
 %
 % \subsection{Uncompressed metadata object stream}
-% The xmp metadata should be written uncompressed to pdf.
+% The xmp metadata should be written \enquote{uncompressed} to pdf.
+% It is not quite clear what exactly that means. Probably it only
+% means that there should be no |/Filter| key in the stream, but
+% packages like \pkg{pdfx} and \pkg{hyperref} try to suppress object
+% compression too, so we add support for it too.
 % With luatex this is possible by using the |uncompressed| key word.
 % With pdftex one can change locally the compresslevel. (x)dvipdfmx does
 % it automatically and doesn't need some special command. No solution
-% is known imho for the dvips route. We need it only once, so we make
+% is known for the dvips route. We need it only once, so we make
 % it special and probably no public interface is needed. It writes
 % an unnamed object so should be referenced directly with |\pdf_object_ref_last:|
 %    \begin{macrocode}





More information about the latex3-commits mailing list.