FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

PS export issue with custom font · Issue #6525 · matplotlib/matplotlib · GitHub

Repository navigation

PS export issue with custom font #6525

Closed

Description

Hi,

in my matplotlibrc I've set font.sans-serif: Calibri.

When I export figure to PS/EPS I cant open the file. Problem seems to be in %%Copyright comment in exported file, which is split on two lines.:

...
%!PS-Adobe-3.0 Resource-Font
%%Title: Calibri
%%Copyright: © 2016 Microsoft Corporation. All Rights Reserved.
Hebrew OpenType Layout logic copyright © 2003 & 2007, Ralph Hancock & John Hudson. This layout logic for Biblical Hebrew is open source software under the MIT License; see embedded license description for details.
%%Creator: Converted from TrueType to type 3 by PPR
...

So if I join the lines to:

...
%!PS-Adobe-3.0 Resource-Font
%%Title: Calibri
%%Copyright: © 2016 Microsoft Corporation. All Rights Reserved. Hebrew OpenType Layout logic copyright © 2003 & 2007, Ralph Hancock & John Hudson. This layout logic for Biblical Hebrew is open source software under the MIT License; see embedded license description for details.
%%Creator: Converted from TrueType to type 3 by PPR
...

file is properly decoded.

matplotlib-2.0.0b1 on 64-bit Python 3.5.1 on Windows 10

Activity

  1. QuLogic commented on Jun 1, 2016

    Member

    This is a dupe of #5862, but with a different font.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL