- Home /
Font Size vs Screen Resolution
m doing an Android Game, and Android devices have many different, like Galaxy 5 (240 x 320) and Motorola Droid (480 x 854). So, i already made the size of my GUI elements relative to Screen Size, but now Im looking for an efficient way to alter font size basead in the Screen Size.
I already found that I can duplicate the fonts, make each one with a size and alter the GUI Style of my GUI Elements, but i dont find it a good solution.
Another alternative is use text as image, but then i cant make a proper internalization or have dynamic text.
So, there is better solutions?
Answer by gtjuggler · Oct 24, 2011 at 06:37 PM
Potapczuk,
My company developed a tool called the MultiPlatform ToolKit, which is available now on the Unity Asset store. It handles swapping fonts and font materials based on screen size, so long as you're using TextMesh objects. We used this extensively in our Snuggle Truck project.
Feel free to check it out: http://smuggletruck.com/multiplatform and specifically, take a look at Tutorials #3 and #5 which cover the process of doing something similar. You'd be using the Fonts pane to swap out a different Font and Font Material based on your platform/aspect ratio.
The Snuggle Truck presentation at Unite was AWESO$$anonymous$$E!
I learned a lot... Thanks!
Your answer
![](https://koobas.hobune.stream/wayback/20220613093743im_/https://answers.unity.com/themes/thub/images/avi.jpg)