[dvipdfmx] writing an uncompress stream

Shunsaku Hirata shunsaku.hirata74 at gmail.com
Tue Feb 16 11:18:37 CET 2021

I think dvipdfmx doesn't compress stream objects having /Type /Metadata.
See, the following ChangeLog entry.

2016-06-25  Shunsaku Hirata  <shunsaku.hirata74 at gmail.com>

        Modify to make PDF/A generation a bit easier.
        * pdfobj.c: Do not compress XMP Metadata.
        * cidtype2.c, type1.c, type1c.c: Always write CIDSet for CIDType2 and
        CharSet for Type1 font. Check consistency of glyph width.

If adding a new option to control compression behavior is still
preferred, please let me know. Implementation itself is quite easy.

Shunsaku Hirata

2021年2月16日(火) 18:04 Ulrike Fischer <news3 at nililand.de>:
> Dear Akira,
> >> What could be used with dvipdfmx?
> > Is local change necessary?
> > Did you test \special{dvipdfmx:config z 0} ?
> > I don't know it works or not.
> uncompressing completly naturally works, but it also makes the pdf
> larger. So I'm looking for the "optimal" balance here.
> In a small test I got this sizes:
> compressed 12262
> z 5:       12417
> z 0:       22477
> z 5 made the xmp readable, so it looks like a good compromize, but as
> I don't really know what exactly the different levels do, I'm not sure
> if it will work always and if it is really the best.
> Ulrike

More information about the dvipdfmx mailing list.