[latex3-commits] [l3svn] 02/02: Only allow 'appropriate' data for xdvipdfmx image reading

noreply at latex-project.org noreply at latex-project.org
Wed Jun 28 08:48:56 CEST 2017


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

commit 1252f570e7ab98e3d46737404a8832dba30e7041
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Jun 27 23:02:21 2017 +0100

    Only allow 'appropriate' data for xdvipdfmx image reading
---
 l3kernel/l3drivers.dtx |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/l3kernel/l3drivers.dtx b/l3kernel/l3drivers.dtx
index 139b813..059f4cf 100644
--- a/l3kernel/l3drivers.dtx
+++ b/l3kernel/l3drivers.dtx
@@ -1753,11 +1753,15 @@
 \cs_new_protected:Npn \@@_image_getbb_jpg:n #1
   {
     \int_zero:N \l__image_page_int
+    \tl_clear:N \l__image_pagebox_tl
     \@@_image_getbb_auxi:nN {#1} \xetex_picfile:D
   }
 \cs_new_eq:NN \@@_image_getbb_png:n \@@_image_getbb_jpg:n
 \cs_new_protected:Npn \@@_image_getbb_pdf:n #1
-  { \@@_image_getbb_auxi:nN {#1} \xetex_pdffile:D }
+  {
+    \bool_set_false:N \l__image_interpolate_bool
+    \@@_image_getbb_auxi:nN {#1} \xetex_pdffile:D
+  }
 \cs_new_protected:Npn \@@_image_getbb_auxi:nN #1#2
   {
     \int_compare:nNnTF \l__image_page_int > 1

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list