- Home /
Font size and style overrides are only supported for dynamic fonts
All the time I get this error : Font size and style overrides are only supported for dynamic fonts, and i don't get it, where can i find one of those 'dynamic fonts'? I imported a lot of my windows fonts but none of them is dynamic?
Answer by flamy · Apr 06, 2012 at 08:32 AM
you cannot get this away until you are changing the size of the font in script,
one solution is having multiple instance of the font with different sizes set while importing it to unity.
there is also another solution , take a texture with all letters and with specifing uvs , draw it with your custom size using Graphics.Draw function
Answer by Eric5h5 · Apr 06, 2012 at 07:08 AM
Dynamic fonts aren't something you find, it's a font setting option in Unity. Dynamic/ASCII/Unicode etc. Also dynamic fonts don't work on iOS/Android currently.
yeah i understand, i'm building for android but how can i get that error away, it's slows down whole my app.
I'm getting this too. Is it erroring out when making a GUI style? I'm changing the font size in the import settings. The when drawn the font size is zero.
"Also dynamic fonts don't work on iOS/Android currently." as quoted. I am appalled that unity I encountered the same problem trying to use a dynamic font and custom shader for it to do cool stuff. Guess i gotta rethink that...