Skip to content

Undetected character styles #4503

Closed
Closed
@JorjMcKie

Description

@JorjMcKie

Description of the bug

Underline and strikeout are not detected on the page of the attached PDF.

test.pdf

Reproducer:

mutool convert -o test.stext -O collect-styles test.pdf

For example, this line should show underlined and strikeout characters.

Image

The relevant vector graphics are stroked with a rectangle height of 0 and a line width of 0.5.

How to reproduce the bug

Standard install python -m pip install -U pymupdf.
Using MuPDF v1.26.0.

PyMuPDF version

1.25.5

Operating system

Windows

Python version

3.13

Metadata

Metadata

Assignees

No one assigned

    Labels

    upstream bugbug outside this package

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions