8000 Symbols appear as streaks with usetex=True, times font and PDF backend · Issue #11259 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
Symbols appear as streaks with usetex=True, times font and PDF backend #11259
Closed
@pdhall99

Description

@pdhall99

Bug report

Bug summary

  • Symbols appear as streaks with usetex=True, times font and PDF backend

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$')
fig.savefig('test.pdf')

Actual outcome
test.pdf

  • Alpha symbol in the x-axis label appears as a streak in the output PDF

Expected outcome

  • Alpha symbol in the x-axis label to appear as an alpha, rendered by LaTeX

Matplotlib version

  • Matplotlib 2.2.2, Python 2.7.15, OSX 10.13.4
  • pdfTeX 3.14159265-2.6-1.40.19 (TeX Live 2018), kpathsea version 6.3.0
  • Installed with MacPorts

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0