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

unable to view pdf with \varepsilon on acrobat reader generated by matplotlib 3.x · Issue #16894 · matplotlib/matplotlib · GitHub

Repository navigation

unable to view pdf with \varepsilon on acrobat reader generated by matplotlib 3.x #16894

Closed

Description

Bug report

Bug summary
Unable view pdf with \varepsilon on AcrobatReader

Code for reproduction

import matplotlib as mpl
import matplotlib.pyplot as plt

mpl.rcParams.update(mpl.rcParamsDefault)
mpl.rcParams['text.usetex'] = True
mpl.rcParams['font.family'] = ['serif']
mpl.rcParams['font.serif'] = ['Times']


fig, ax = plt.subplots()
ax.set_xlabel(r'$x$ $\alpha \varepsilon$')
fig.savefig('test.pdf')

Current outputs are:

 pdffonts test.pdf
name                                 type              encoding         emb sub uni object ID
------------------------------------ ----------------- ---------------- --- --- --- ---------
NimbusRomNo9L-Regu                   Type 1            Custom           yes no  no      21  0
CMMI10                               Type 1            Builtin          yes no  no      13  0
NimbusRomNo9L-ReguItal               Type 1            Custom           yes no  no      25  0
StandardSymL_Slant_167               Type 1            Builtin          yes no  no      17  0


import matplotlib
print(matplotlib.__version__)
3.2.0

in previos version of matplolibs we didnot have StandardSymL_Slant_167

pdffonts someold.pdf
name                                 type              emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
txsy                                 Type 1            yes no  no      38  0
NimbusRomNo9L-Regu                   Type 1            yes no  no      26  0
NimbusRomNo9L-ReguItal               Type 1            yes no  no      30  0
rtxmi                                Type 1            yes no  no      22  0
rtxr                                 Type 1            yes no  no      34  0

How to select right fonts?

Activity

  1. anntzer commented on Mar 24, 2020

    Contributor

    This looks very similar to #16087, so let's just track the issue there.

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

Metadata

Metadata

Assignees

No one assigned

    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