[latex3-commits] [git/LaTeX3-latex3-latex3] master: Pretty sure EPS images need the corners ... (5ca4ce6)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue May 7 20:54:55 CEST 2019


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/5ca4ce6b99ccb3642bdc6a271c7decdc184e6e75

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

commit 5ca4ce6b99ccb3642bdc6a271c7decdc184e6e75
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue May 7 19:54:55 2019 +0100

    Pretty sure EPS images need the corners ...


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

5ca4ce6b99ccb3642bdc6a271c7decdc184e6e75
 l3kernel/l3drivers-image.dtx |   20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/l3kernel/l3drivers-image.dtx b/l3kernel/l3drivers-image.dtx
index 2d27f50..0324e0d 100644
--- a/l3kernel/l3drivers-image.dtx
+++ b/l3kernel/l3drivers-image.dtx
@@ -78,7 +78,16 @@
 %  sizes here.
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_image_include_eps:n #1
-  { \@@_literal:n { PSfile = #1 } }
+  {
+    \@@_literal:x
+      {
+        PSfile = #1 \c_space_tl
+        llx = \dim_to_decimal_in_bp:n \l_image_llx_dim \c_space_tl
+        lly = \dim_to_decimal_in_bp:n \l_image_lly_dim \c_space_tl
+        urx = \dim_to_decimal_in_bp:n \l_image_urx_dim \c_space_tl
+        ury = \dim_to_decimal_in_bp:n \l_image_ury_dim
+      }
+  }
 %    \end{macrocode}
 % \end{macro}
 %
@@ -260,7 +269,14 @@
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_image_include_eps:n #1
   {
-    \@@_literal:n { PSfile = #1 }
+    \@@_literal:x
+      {
+        PSfile = #1 \c_space_tl
+        llx = \dim_to_decimal_in_bp:n \l_image_llx_dim \c_space_tl
+        lly = \dim_to_decimal_in_bp:n \l_image_lly_dim \c_space_tl
+        urx = \dim_to_decimal_in_bp:n \l_image_urx_dim \c_space_tl
+        ury = \dim_to_decimal_in_bp:n \l_image_ury_dim
+      }
   }
 \cs_new_protected:Npn \@@_image_include_jpg:n #1
   { \@@_image_include_auxi:nn {#1} { image } }





More information about the latex3-commits mailing list