Skip to content

Bitmap font is shaking/jittering on newer pixi versions #8432

@tsopeh

Description

@tsopeh

Expected Behavior

I expect for bitmap text to be rendered without shaking, as in previous pixi versions (e.g. 5.3.12). The bitmap font is guaranteed to be monospaced since every glyph has the same xadvance.

Current Behavior

The text appears to be slightly shaking when changing the value. In the demo I provided, I used the version 6.4.2 as a reference, but I believe that the issues started appearing from the version 6.3.0.

This is possibly related to #8246.

Steps to Reproduce

The demo code can be found here: https://drive.google.com/file/d/1IVs3gt8ImxiDDhxTLMRyzzx56nr0SXIa/view?usp=sharing
You can toggle pixijs version in the index.html.

Environment

  • pixi.js version: 6.3.0 – 6.4.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    🕷 BugVerified that it’s actually a legit bug that exists in the current release.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions