[latex3-commits] [git/LaTeX3-latex3-latex3] gh1191: Allow for PDF attr for bitmaps (80d36ff5b)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Apr 18 18:13:12 CEST 2023


Repository : https://github.com/latex3/latex3
On branch  : gh1191
Link       : https://github.com/latex3/latex3/commit/80d36ff5bf387e1e3de1b2e29ae1f42b257b6cd9

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

commit 80d36ff5bf387e1e3de1b2e29ae1f42b257b6cd9
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Apr 18 17:12:22 2023 +0100

    Allow for PDF attr for bitmaps


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

80d36ff5bf387e1e3de1b2e29ae1f42b257b6cd9
 l3backend/l3backend-graphics.dtx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/l3backend/l3backend-graphics.dtx b/l3backend/l3backend-graphics.dtx
index 7818c1f59..d26820b60 100644
--- a/l3backend/l3backend-graphics.dtx
+++ b/l3backend/l3backend-graphics.dtx
@@ -185,13 +185,14 @@
   {
     \int_zero:N \l_@@_page_int
     \tl_clear:N \l_@@_pagebox_tl
-    \str_clear:N \l_@@_pdf_str
     \tl_set:Nx \l_@@_attr_tl
       {
         \tl_if_empty:NF \l_@@_decodearray_str
           { :D \l_@@_decodearray_str }
         \bool_if:NT \l_@@_interpolate_bool
           { :I }
+        \str_if_empty:NF \l_@@_pdf_str
+          { :X \l_@@_pdf_str }
       }
     \@@_backend_getbb_auxi:n {#1}
   }





More information about the latex3-commits mailing list.