xdvipdfmx problems after update from version 20190225 to 20190503

Shunsaku Hirata shunsaku.hirata74 at gmail.com
Sat Aug 3 03:58:52 CEST 2019


Hi Jens,

The problem occurs when dvipdfmx tries to zlib decompress data.

I observed similar error when extracting data from provided file by
qpdf program,

$ qpdf --filtered-stream-data --show-object=4 Spectrum-pdfreport.pdf
WARNING: Spectrum-pdfreport.pdf (file position 179): error decoding
stream data for object 4 0: stream inflate: inflate: data: incorrect
data check
stream inflate: inflate: data: incorrect data check

suggesting corrupted data.
I also checked error code and message returned by inflate() and found
the same error.

I think there must be some recoverable (since Acrobat, Ghostscript,
and many other PDF viewers can process it) error in
compressed data but I don't know the exact reason.

The reason why previous versions of dvipdfmx can process it is that
they do not decompress data in some cases.

I will consider workaround for this issue but it may take some time.
Also for FontAwesome TrueType font problem I will inspect it later.

Thanks,
Shunsaku Hirata

2019年8月1日(木) 21:47 Jens Adam <j.adam at innoriid.com>:
>
> Hi All,
>
> I successfully used XeLaTeX from my complete MacTeX installation from the TeX Collection DVD 2019 on MacOS Mojave.
>
> Recently I did an update with the TeX Live Utility and XeLaTex didn’t produce pdf files for my dozens of documents.
>
> Separate calls to
>
>         xelatex --no-pdf xxx.tex
>
> (no errors reported) and
>
>         xdvipdfmx -vv xxx.xdv
>
> reported problems with FontAwesome TrueType fonts, in my case version 5.3.1.
>
> I replaced the TrueType with OpenType fonts et violà: pdf files were produced again.
>
> Now that I have pdf output, I found that one pdf included as a graphic had the expected size but rendered completely transparent.
>
> xelatex run without problems, but xdvipdfmx reported
>
>         xdvipdfmx:warning: inflate() failed. Broken PDF file?
>
> The new version seems to be picky about fonts and pdf graphics.
>
> The pdf required for the following MWE is attached.
>
> % Compile with XeLaTeX!
> \documentclass{memoir}
> \RequirePackage{graphicx}
> \begin{document}
> \framebox{\includegraphics[width=0.75\textwidth]{Spectrum-pdfreport}}
> \end{document}
>
>
>
> --
> Dr. Jens Adam
> Senior Technical Writer
>
> innoRIID GmbH • www.innoriid.com
> Headquarters: Am Eichenbroich 19 • 41516 Grevenbroich • Germany
> R&D, Production: Merowingerplatz 1a • 40225 Düsseldorf • Germany
>
> Geschäftsführer Peter Henke
> HRB 16325 Amtsgericht Mönchengladbach
> USt-IdNr. DE815536307
>
>



More information about the tex-live mailing list