I’ve looked through the docs and the forum but I can’t find how (or actually where) I can change the font size for a GUISkin label.
Thanks…
I’ve looked through the docs and the forum but I can’t find how (or actually where) I can change the font size for a GUISkin label.
Thanks…
You can change the font size by selecting the font material and press “settings”.
Although you can’t change the size of the default font because it’s built-in. You have to import a .ttf font to do that.
Where do you find the font material settings? I don’t see it listed in the GUISkin attributes.
Ok I found it. But…I want to make the same font different sized in different scenes. How can I manage that?
AFAIK you can only duplicate the asset and import it with another size.
Ewwww… ok, thanks.
It’s because we are not recording the actual font outline data due to legal issues with font distribution (many apps that do font recording are in blatant legal violation of font distribution rights). In our case we rasterize each character which is why you need to bring it in once for each size you intend to use.
Hi, is it possible to change the gui skin font size in a script ?
I tried :
QuizzGUISkin is the filename of the GUISkin
but it create an error.
Do you mean you get a compile error or a runtime error or does it just not display the way you wanted?
a compile error.
But even if i delete this line, and change the font size in the GUISkin, in the inspector, nothing happens. it seems that the font size overrides the Guiskin font size.
it seems that i should create different fonts according to the display resolution.
A small one if i use an iphone 3GS, a medium for Iphone4/ipad, a large one, for pc/mac/ipad2
and 3 GUISkin with the correct font attached…
Any better idea ?
Well it seems that font size works with dynamics fonts. but the problem, is that i have to choose between dynamic and unicode. As foreign language has accent, i have to use unicode. Too bad dynamic fonts have no accents by default