[latex3-commits] [git/LaTeX3-latex3-pdfresources] testlinkstuff: uncompress (4569934)

Ulrike Fischer fischer at troubleshooting-tex.de
Fri May 31 12:54:47 CEST 2019


Repository : https://github.com/latex3/pdfresources
On branch  : testlinkstuff
Link       : https://github.com/latex3/pdfresources/commit/4569934e6adf7bfa5e2418b6ad90682e21fd15ff

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

commit 4569934e6adf7bfa5e2418b6ad90682e21fd15ff
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Fri May 31 12:54:47 2019 +0200

    uncompress


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

4569934e6adf7bfa5e2418b6ad90682e21fd15ff
 pdfresources.dtx |   24 +++++++++++++++++++++---
 1 file changed, 21 insertions(+), 3 deletions(-)

diff --git a/pdfresources.dtx b/pdfresources.dtx
index 4e1d9d1..0d2df8d 100644
--- a/pdfresources.dtx
+++ b/pdfresources.dtx
@@ -436,6 +436,17 @@
    \tl_gset:Nx #1 {\tex_the:D \tex_pdfvariable:D pageresources}
   }
 }
+
+\sys_if_engine_xetex:T
+{
+  \cs_new_protected:Npn \driver_pdf_pageresources_gget:N #1
+  {
+  %%???????????????????
+   %\tl_gset:Nx #1 {\tex_the:D \tex_pdfvariable:D pageresources}
+  }
+}
+
+
 \tl_new:N\g_@@_pdf_pageresources_tl
 \tl_new:N\g_@@_pdf_pageresources_tmp_tl
 \driver_pdf_pageresources_gget:N \g_@@_pdf_pageresources_tl
@@ -1238,9 +1249,16 @@
 %</package>
 %    \end{macrocode}
 
-% \subsection{pdfpagesattr}
-%
-%
+% \subsection{Compression}
+% \begin{macro}{\pdf_uncompress:}
+%    \begin{macrocode}
+\cs_new_protected:Npn \pdf_uncompress:
+{
+ \driver_pdf_compresslevel:n {0}
+ \driver_pdf_compress_objects:n {0}
+}
+%    \end{macrocode}
+% \end{macro}
 % \subsection{Setting / comparing pdf versions}
 % The code assumes that the versions are two integers separated by a period.
 % The pdf version should be set rather early, before any object has been written.





More information about the latex3-commits mailing list