Skip to content

Bug: Extra vertical spacing in Text compared to browser rendering #3316

@Ravi-puniya

Description

@Ravi-puniya

When rendering text using react-pdf, the output contains noticeably more vertical spacing than expected.

Even when using the same:

font
font size
content

…the rendered PDF text appears to have extra space above and below compared to browser rendering.

When rendering text using react-pdf, the output contains noticeably more vertical spacing than expected.

Even when using the same:

font
font size
content

…the rendered PDF text appears to have extra space above and below compared to browser

Image Image

))

  • OS: Windows
  • Browser: chrome
  • React-pdf :4.3.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions