Skip to content

Insert Text becomes upside down #24

@eprakars

Description

@eprakars

image

I followed the example given but produce this error. Anyone have similar problem?

err = pt.AddFont("arial", "./arial.ttf")
if err != nil {
return err
}

err = pt.SetFont("arial", "", 14)
if err != nil {
return err
}

//insert text to pdf
err = pt.Insert(fullname, 1, 100, 100, 100, 100, pdft.Regular)
if err != nil {
return err
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions