Skip to content

Feat: rework receipt PDF generation so it outputs text and not an imageΒ #5

@bassgeta

Description

@bassgeta

Problem

Our current combo of html2canvas-pro and jsPDF work in the following way

JSX -> Canvas -> PNG -> PDF

which means we can't highlight text in the PDF document since the content is just a PNG image.

Expected behaviour

The PDF should be text and highlightable, so we need to use either just jsPDF with its proprietary syntax or a different library altogether.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    🎫 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions