2D Toolkit Forum

2D Toolkit => Support => Topic started by: awejk on October 18, 2012, 03:16:33 pm

Title: Font
Post by: awejk on October 18, 2012, 03:16:33 pm
I have a problem with the font.
My font settings in bmfont
http://ncesoftware.com/projects/Screenshot-1123.png (http://ncesoftware.com/projects/Screenshot-1123.png)
but in the unity is
http://ncesoftware.com/projects/Screenshot-1121.png (http://ncesoftware.com/projects/Screenshot-1121.png)

enlarged:
http://ncesoftware.com/projects/Screenshot-1124.png (http://ncesoftware.com/projects/Screenshot-1124.png)

Edit/Project Settings/Quality - Texture Quality - Full Res.
http://ncesoftware.com/projects/Screenshot-1122.png (http://ncesoftware.com/projects/Screenshot-1122.png)

I don't understand, why "income" is normal and "expense" is smooth?
Title: Re: Font
Post by: unikronsoftware on October 18, 2012, 04:31:44 pm
Its the position of "expense" its likely not on a pixel boundary. Thats easy to handle if you use tk2dCamera (make sure the positions are round numbers). Otherwise, you could just nudge it up/down slightly to fix it if you don't want to calculate correct values.
Title: Re: Font
Post by: awejk on October 19, 2012, 09:49:54 am
Tried to move a little bit in different directions, but still remained blurred, changing its strength.
Then I decided to try tk2dCamera. Open the example "11 - camera and alignment", and there add the fonts.
Video of my actions.
http://ncesoftware.com/video/tk2dCamera.avi (http://ncesoftware.com/video/tk2dCamera.avi)
All coordinates are integers. But the problem is still not solved.
enlarged screenshot
http://ncesoftware.com/projects/Screenshot-1826.png (http://ncesoftware.com/projects/Screenshot-1826.png)
That this time I did wrong?
Title: Re: Font
Post by: unikronsoftware on October 19, 2012, 09:57:27 am
If you can isolate this, please zip up and email the project demonstrating the issue to support@unikronsoftware.com
Title: Re: Font
Post by: awejk on October 19, 2012, 11:32:39 am
sent to the email
Title: Re: Font
Post by: unikronsoftware on October 21, 2012, 04:59:46 pm
Worked out the issue was with line alignment not being on a pixel boundary. awejk was on an older version of 2D Toolkit - this has been fixed in 1.80.