Jump to content

Text alignment


Recommended Posts

Does anyone already had issues with PIXI.Text ?


I noticed the rendering of the text could be different between Firefox and Chrome. See the 2 attachments for example.


- Firefox start the rendering of the font at 0,0

- Chrome has a little gap between the top and the number.


I'm trying to vertically align the text in a container, and this issue really causes me lot of troubles :/ It's like I need a special thing to handle Firefox for every strings I write, It's really painful :s


ps: The red area is the "canvas" in which the text is rendered.


//edit: Well it seems it's already a known bug in Firefox :/ https://bugzilla.mozilla.org/show_bug.cgi?id=737852



Link to comment
Share on other sites

  • 3 weeks later...

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.

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.


  • Recently Browsing   0 members

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