Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

xpdf distiller seems broken #16538

Copy link
Copy link
Closed
@anntzer

Description

@anntzer
Issue body actions

Bug report

Bug summary

What the title says

Code for reproduction

rcParams["ps.usedistiller"] = "xpdf"; plot(); savefig("/tmp/test.ps")

Actual outcome

<elided>
  File ".../matplotlib/backends/backend_ps.py", line 1247, in xpdf_distill
    cbook._check_and_log_subprocess(
  File ".../matplotlib/cbook/__init__.py", line 2129, in _check_and_log_subprocess
    raise RuntimeError(
RuntimeError: The command
    ps2pdf '-dAutoFilterColorImages#false' '-dAutoFilterGrayImages#false' '-dAutoRotatePages#false' '-sGrayImageFilter#FlateEncode' '-sColorImageFilter#FlateEncode' '-sPAPERSIZE#letter' /tmp/tmpddvwd66_/tmp.ps /tmp/tmpddvwd66_/tmp.ps.pdf
failed and generated the following output:

and the following error:
Unrecoverable error: typecheck in .putdeviceprops

Expected outcome

Success.

Matplotlib version

  • Operating system: arch linux / fedora
  • Matplotlib version: master, but present as far back as mpl3.0 at least.
  • Matplotlib backend (print(matplotlib.get_backend())): ps
  • Python version: 38
  • Jupyter version (if applicable): no
  • Other libraries: ghostscript 9.50 on arch; 9.27 on fedora

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.