Skip to content

calculateBoundingBox doesnt behave the same between v1.1 and 1.2 #56

@infrafast

Description

@infrafast

Hello by accident my environnent switched to 1.2 (I was using 1.1 until now) and I realized that my font were not rendered the same

Seems the cause comes from calculateBoundingBox which return a smaller value for the yMax in v1.2 than v1.1, as a result, when creating the sprite the bottom of the font gets truncated because of the sprite height

I took some screenshot having green background of the font so you can see more clearly the boundaries

I rolled back to v1.1 and was wondering if you have any idea about the reason and fix the v1.2 so it behave as it should be ?

Thanks and regards,

Image
Image

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