Skip to content

letter-spacing not respected by openpdf-html #1417

@elduffy

Description

@elduffy

Describe the bug

The letter-spacing html style is not respected in the PDF output from openpdf-html

To Reproduce

See the minimal test here. It generates output using librepdf as well as openhtmltopdf for comparison. The latter correctly applies spacing in the generated html.

Expected behavior/Screenshots

The actual output is spaced as if the letter-spacing is not present:
Image

The expected output, as generated by openhtmltopdf:
Image

System

(please complete the following information)

  • OS: iOS
  • Used font: left as default
  • OpenPDF version: Reproduced on 3.0.0, 2.4.0, and 2.2.4

Your real name

Eric Duffy

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions