Skip to content

text-based "Artwork" in PDF misaligns depending on whether there is leading whitespace and the first non-whitespace character is not US-ASCII #1245

@dkg

Description

@dkg

Describe the issue

See the attached XML file, which contains some text-based <artwork> objects.

test.xml.txt

textual artwork like this:

└┬╴Root of the tree
 ├─╴Child A
 └─╴Child B

Should show the vertical stem aligned, like so:

Image

with the C of the child rows under the first o of the root row.

In practice, in a PDF, it tends to be misaligned, like this:

Image

Interestingly, if there is a leading non-space character on each line, it seems to be correctly aligned:

Image

This is an impediment to the effective processing of draft-ietf-lamps-e2e-mail-guidance, which is in AUTH48 right now.

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpdfIssues in PDF output and PDF writerrpatIssues needing attention from RFC Production Advisory Team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions