2D Toolkit Forum

2D Toolkit => Support => Topic started by: Mr Oliv on May 04, 2014, 10:55:03 pm

Title: Line Spacing in Text Mesh
Post by: Mr Oliv on May 04, 2014, 10:55:03 pm

Hi!

Just a quick question... when adjusting the Line Spacing parameter on Text Meshes, I lose the pixel perfect rendering I've painstakingly set up... What does the Line Spacing value correspond to exactly? Is there any way to calculate it in relation to "pixels per meter" or similar to make sure the text ends up pixel perfect again?

Thanks
Title: Re: Line Spacing in Text Mesh
Post by: unikronsoftware on May 05, 2014, 02:10:56 pm
Line spacing is in world units, it should snap to a pixel as long as its a multiple of 1 / pixels per meter.
Title: Re: Line Spacing in Text Mesh
Post by: Mr Oliv on May 06, 2014, 02:03:18 am

Brilliant!
Thanks