Jump to content

Pixi Text has inconsistent bounds


Pixi-Tom
 Share

Recommended Posts

Hey there fellow devs,

I have a problem with my current project, here are some infos to start with:

  • Running on ODROID C4 / ODROID N2
  • Android 9
  • browser: Bromite 83.0.4103.93 arm64_SystemWebView
  • Pixi Verison: 7.3.3

So we have a UI with a lot of PIXI Texts in it and we currently are updating from PIXI 6.3.2 to PIXI 7.3.3 and the issue we are facing is the following:

The y-position of the PIXI Text is changing everytime i start the PIXI Application.

I have now used trim and padding to remove the transparent borders and now the text is staying in the same place always so my conclusion was, that there is a problem with the bounds of the text, right?

But i dont want to change the TextStyle for hundrets of texts as this worked in the previous version of PIXI.

I tried many things to fix it:

  • tried different fontloader
  • tried different font-family
  • tried messing with the resolution
  • tried updating transform / updateText()
  • tried newer PIXI Versions
  • tried other webview versions
  • etc..

I am really running out of ideas now, so i would be very thankfull if you guys can help me.

Unfortunately i cant make a direct reproduction for you cause this project is company property. I can try to make a minimal reproduction if it helps you?

Thanks a looooot in advance!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...