Skip to content

Text overlay is wrong for flipped text #11513

@danielbrodin

Description

@danielbrodin

Hi, I have multiple pdfs with both normal text and text rotated 180degrees that get the same behaviour as shown in the image, which is that the rotated text is aligned wrong.

Each line of text seem to be correct, but the position is wrong and the text isn't rotated like it should be

Pdf file in the screenshots

Here is it with rotation 0 showing that the rotated text is at the wrong position
pdf-test

Here it is rotated 180deg showing that the text layer is rotated the wrong way. Or rotated when it shouldn't be rotated that is.
Screenshot 2020-01-15 at 14 35 32

Is there any setting I have missed or is something wrong with this version or pdfjs just can't handle rotated text?

Configuration:

  • Web browser and its version: Tested chrome, firefox and safari
  • Operating system and its version: macOS Mojave
  • PDF.js version: 2.2.228
  • Is a browser extension:

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