Akis Posted December 17, 2013 Share Posted December 17, 2013 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 spinnerbox 1 Quote Link to comment Share on other sites More sharing options...
xerver Posted December 18, 2013 Share Posted December 18, 2013 PIXI.Text is rendered via system fonts so the text will look different depending on the system that displays the font. It will look different across browsers and operating systems, just as a normal web-page's font does. Quote Link to comment Share on other sites More sharing options...
Akis Posted December 18, 2013 Author Share Posted December 18, 2013 Yep, but it shouldn't As I said, it's a known bug in Firefox. For now, I just patched my local Pixi to draw the text 3px lower for Firefox to get the same rendering whatever the browser is. Quote Link to comment Share on other sites More sharing options...
mwatt Posted January 3, 2014 Share Posted January 3, 2014 Yes I too ran into that problem. For this reason as well as others, I just bit the bullet and went to using only sprites. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.