Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Twiitch on March 12, 2013, 08:05:22 PM
-
I've created a new atlas and font (using GlyphDesigner on Mac), however when NGUI renders the font it doesn't quite fit inside its bounds.
I've attached an image which I hope explains the issue. In this instance, I've created an anchor at top-right, and a label with it's origin also at the top-right.
Any idea why?
Cheers,
Shane
-
NGUI goes by what Glyph Designer exported, so it's an issue with Glyph Designer, not NGUI.
-
Dude, don't put the full NGUI on a public forum. Send the project to support [at] tasharen.com
-
I didn't realise there was a direct support email address, was just trying to help. Had I known, I would have just gone there from the start.
In any case, what the deleted post said was that the issue happens with the built in Fantasy Atlas and Font. Any idea why?
-
Because I baked a shadow effect into the label's texture, thus extending the letters without ever adjusting the TXT file with the glyph positions. It's the shadow that goes outside the bounds.
-
OK.
-
Sorry for my outburst - it was not meant in an antagonistic way.
You did the right thing going to the forum, but if you need to exchange actual code (with NGUI included) then the email is where to go. :)
-
No problem at all.