Skip to content

Bug: Header text clipping/overflow in PDF export #99

Description

@arthiccc

Title: Bug: Header text clipping/overflow in PDF export
Description:
There is a rendering discrepancy between the editor view and the exported PDF. Long words in H1 headers (e.g., "IMPLEMENTASI") are being clipped/cut off on the left margin in the PDF output, while they appear correctly in the Markpad editor.
Steps to Reproduce:
Create a markdown file with a long word in an H1 header (e.g., # IMPLEMENTASI).
Export the file to PDF.
Open the PDF and observe the left margin.
Expected Behavior:
The text should be fully contained within the PDF page margins, matching the editor's layout or scaling down if necessary.
Actual Behavior:
The beginning of the word is cut off (e.g., "IMPLEMENTASI" becomes "...LEMENTASI").
Environment:
OS: Windows (based on the file path in screenshot)
App: Markpad (Tauri-based)
Screenshot: Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions