8000 LaTex x-small font stretching · Issue #12056 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
LaTex x-small font stretching #12056
Closed as not planned
Closed as not planned
@MaxSchambach

Description

@MaxSchambach

Description

Using the LaTex text rendering, label fonts with sizes x-small are being stretched.

Details

Changing the font size to small results in correct font rendering, but I noticed that the small and x-small fonts use up the same amount of vertical space, so it seems like the font is just vertically stretched in the x-small case.
See the images below.

Output using font size x-small and PDF backend:
plot_pdf_matplotlib_xsmall

Output using font size small and PDF backend:
plot_pdf_matplotlib_small

Expected Output

Output using font size x-small and PGF backend rendered with pdflatex:
plot_pgf_latex_xsmall

Matplotlib version

  • Operating system: Arch Linux
  • Matplotlib version: 2.2.2
  • Matplotlib backend: TkAgg / PDF / PGF
  • Python version: 3.6.6 (Anaconda Python)
  • Jupyter version: JupyterLab 0.34

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: closed as inactiveIssues closed by the "Stale" Github Action. Please comment on any you think should still be open.status: inactiveMarked by the “Stale” Github Action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0