Is there a function for getting the size of a string of text with a specified font and style?
Something similar to the Windows function GetTextExtentPoint32.
Aug 20 '10 at 07:47 PM
Aug 20 '10 at 08:19 PM
Awesome! Thank you for the response.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
Once you sign in you will be able to subscribe for any updates here
Answers and Comments
The best place to ask and answer questions about development with Unity. Check out our FAQ for more information.
To help users post good questions and use the site effectively we have posted a tutorial video. Please check it out.
asked: Aug 20 '10 at 07:47 PM
Seen: 2386 times
Last Updated: Aug 20 '10 at 07:47 PM
Changing the size of a GUI label
Changing a GUILabel text SIZE
Font Scaling Issues
GUI Styles for iPhone/Android - font/button sizing?
Problem with GuiFont - Not appearing
Multiple sizes of same font (for mobile)
Color.white not so much white...
GUI text font change
How to set the font size in GUI.Label
multi line label with different font?