Skip to content

Divide by zero with PDFMiner #13

@goodmami

Description

@goodmami

If (presumably) there are no glyphs on a page, the test for the average character width can divide by zero here:

and (dx / avg_width) <= max_char_dx

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