Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: FizzPow on December 27, 2012, 07:55:46 PM

Title: Font SD/HD/SHD switching with Make Pixel Perfect
Post by: FizzPow on December 27, 2012, 07:55:46 PM
So I have this all working, but I am running into a problem with trying to use "Make Pixel Perfect" on these fonts.  It is not using the relative pixel size like it does for UIAtlas references.  I am using 3 fonts without atlas's and there is no setting for pixel size like there is for using UIAtlas with a reference.  Is there any solution for this?
Title: Re: Font SD/HD/SHD switching with Make Pixel Perfect
Post by: ArenMook on December 27, 2012, 08:32:31 PM
The pixel size setting is specified only on atlases. If you add your fonts to your atlases, then you can take advantage of it.
Title: Re: Font SD/HD/SHD switching with Make Pixel Perfect
Post by: FizzPow on December 27, 2012, 08:34:21 PM
Hmm, I am creating my atlas's with Texture Packer, so I don't think this is an option.
Title: Re: Font SD/HD/SHD switching with Make Pixel Perfect
Post by: ArenMook on December 28, 2012, 11:57:48 AM
It's fine. Just add the font's texture as if it was a sprite. When creating the font you can specify which atlas+sprite to use for its texture, along with the font's data (TXT).