Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

[probably a question] Cannot set the left margin to 0 #89

@wsw70

Description

@wsw70

I tried to create a cell that would start on the edge of the page:

pdf.SetMargins(0,0,0)
pdf.SetX(0)
pdf.SetY(0)
pdf.Cell(0, 0, "QR")

I get this:

image

Where does the space marked in red come from?

Note: I guess that this is not due to the font - I changed its size but the gap stays the same. It would also seem that the gap is exactly 1 mm wide:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions