Skip to content

PDF title rendering appears distorted or poorly formatted #5

@krystophny

Description

@krystophny

Problem

The plot title in PDF output appears weird/distorted compared to PNG output and matplotlib reference plots.

Current Behavior

  • PDF title rendering looks abnormal or poorly formatted
  • Title appearance differs significantly between PDF and PNG backends
  • Title may have font, spacing, or positioning issues specific to PDF

Expected Behavior

  • PDF title should render cleanly and professionally
  • Title appearance should be consistent between PDF and PNG backends
  • PDF title should match matplotlib reference quality

Steps to Reproduce

  1. Run make example to generate both PNG and PDF outputs
  2. Compare title appearance between .png and .pdf files
  3. Compare with matplotlib reference plots from make ref
  4. Note the distortion or formatting issues in PDF

Technical Details

This appears to be a PDF backend-specific issue, possibly related to:

  • Font selection or embedding in PDF
  • Text positioning calculations specific to PDF coordinate system
  • PDF-specific text rendering commands

Priority

Medium - affects PDF output quality and professional appearance

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