[latex3-commits] [git/LaTeX3-latex3-graphics-def] zipped: Completely remove compressed graphics from xetex and dvipdfmx (c55efa8)
PhelypeOleinik
phelype.oleinik at latex-project.org
Fri Mar 5 21:14:18 CET 2021
Repository : https://github.com/latex3/graphics-def
On branch : zipped
Link : https://github.com/latex3/graphics-def/commit/c55efa84776b1aba40afb8658a86f2467ed40b20
>---------------------------------------------------------------
commit c55efa84776b1aba40afb8658a86f2467ed40b20
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date: Fri Mar 5 17:14:18 2021 -0300
Completely remove compressed graphics from xetex and dvipdfmx
>---------------------------------------------------------------
c55efa84776b1aba40afb8658a86f2467ed40b20
dvipdfmx.def | 16 +---------------
xetex.def | 16 +---------------
2 files changed, 2 insertions(+), 30 deletions(-)
diff --git a/dvipdfmx.def b/dvipdfmx.def
index 592974b..fef5592 100644
--- a/dvipdfmx.def
+++ b/dvipdfmx.def
@@ -130,13 +130,6 @@
\fi
}
\let\Gread at bmp\Gread at pdf
-\def\Gread at zipped#1{\Gread at false}
-\def\Ginclude at zipped#1{%
- \PackageError{graphics}
- {Unsupported graphics extension \Gin at ext\space with dvipdfmx}
- {dvipdfmx does not support compressed graphics.\MessageBreak
- Uncompress `#1' and use the uncompressed file.}%
-}
\def\Ginclude at pdf#1{%
\let\Gin at decode\@empty
\Gin at interpolatefalse
@@ -267,8 +260,7 @@
\def\Gin at extensions{% order here is like xetex.def, except for PS
.pdf,.PDF,.ai,.AI,%
.png,.PNG,.jpg,.JPG,.jpeg,.JPEG,.jp2,.JP2,.jpf,.JPF,.bmp,.BMP,%
- .ps,.PS,.eps,.EPS,.mps,.MPS,%
- .pz,.eps.Z,.ps.Z,.ps.gz,.eps.gz}
+ .ps,.PS,.eps,.EPS,.mps,.MPS}
%
\@namedef{Gin at rule@.pdf}#1{{pdf}{.xbb}{#1}}
\@namedef{Gin at rule@.PDF}#1{{pdf}{.xbb}{#1}}
@@ -308,12 +300,6 @@
%
\@namedef{Gin at rule@.mps}#1{{mps}{.mps}{#1}}
\@namedef{Gin at rule@.MPS}#1{{mps}{.mps}{#1}}
-% (don't bother with uppercase versions for these Unixish extensions)
-\@namedef{Gin at rule@.pz}#1{{zipped}{.xbb}{#1}}
-\@namedef{Gin at rule@.eps.Z}#1{{zipped}{.eps.xbb}{#1}}
-\@namedef{Gin at rule@.ps.Z}#1{{zipped}{.ps.xbb}{#1}}
-\@namedef{Gin at rule@.ps.gz}#1{{zipped}{.ps.xbb}{#1}}
-\@namedef{Gin at rule@.eps.gz}#1{{zipped}{.eps.xbb}{#1}}
%
\@namedef{Gin at rule@*}#1{{eps}{\Gin at ext}{#1}}
\@ifundefined{ifGin at setpagesize}
diff --git a/xetex.def b/xetex.def
index 03fab09..12d0735 100644
--- a/xetex.def
+++ b/xetex.def
@@ -148,13 +148,6 @@
}%
}
\def\Gread@@xetex at box#1box{#1}
-\def\Gread at zipped#1{\Gread at false}
-\def\Ginclude at zipped#1{%
- \PackageError{graphics}
- {Unsupported graphics extension \Gin at ext\space with XeTeX}
- {The backend driver for XeTeX does not support compressed graphics.\MessageBreak
- Uncompress `#1' and use the uncompressed file.}%
-}
\def\GPT at setup@scale{%
\def\@tempa{!}%
\ifx\Gin at scaley\@tempa
@@ -361,8 +354,7 @@
\def\Gin at extensions{% order here is like pdftex.def, except for PS
.pdf,.PDF,.ai,.AI,%
.png,.PNG,.jpg,.JPG,.jpeg,.JPEG,.jp2,.JP2,.jpf,.JPF,.bmp,.BMP,%
- .ps,.PS,.eps,.EPS,.mps,.MPS,%
- .pz,.eps.Z,.ps.Z,.ps.gz,.eps.gz}
+ .ps,.PS,.eps,.EPS,.mps,.MPS}
%
\@namedef{Gin at rule@.pdf}#1{{pdf}{.xbb}{#1}}
\@namedef{Gin at rule@.PDF}#1{{pdf}{.xbb}{#1}}
@@ -402,12 +394,6 @@
%
\@namedef{Gin at rule@.mps}#1{{mps}{.mps}{#1}}
\@namedef{Gin at rule@.MPS}#1{{mps}{.mps}{#1}}
-% (don't bother with uppercase versions for these Unixish extensions)
-\@namedef{Gin at rule@.pz}#1{{zipped}{.xbb}{#1}}
-\@namedef{Gin at rule@.eps.Z}#1{{zipped}{.eps.xbb}{#1}}
-\@namedef{Gin at rule@.ps.Z}#1{{zipped}{.ps.xbb}{#1}}
-\@namedef{Gin at rule@.ps.gz}#1{{zipped}{.ps.xbb}{#1}}
-\@namedef{Gin at rule@.eps.gz}#1{{zipped}{.eps.xbb}{#1}}
%
\@namedef{Gin at rule@*}#1{{eps}{\Gin at ext}{#1}}
\@ifundefined{ifGin at setpagesize}
More information about the latex3-commits
mailing list.