Skip to content

Font rect in pygame-ce 2.2 is not the same as in pygame 2.1.3 #2104

Open
@AndreyVarvar

Description

@AndreyVarvar

After changing project from using pygame 2.1.3 to pygame-ce 2.2.1, the font changed its height, so it looked offsett-ed.

pygame 2.1.3:
Screen Shot 2023-04-08 at 10 48 51

pygame-ce 2.2.1
Screen Shot 2023-04-08 at 10 49 52

Though, this offset is not present, while using pygame-ce 2.1.3, and only appears when using pygame-ce 2.1.4 and higher (i made a few tests to check when the offset appears). Im not sure, where that comes from, but that can make some unwanted visual effects, when running older projects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    fontpygame.font

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions