Page 1 of 1

Stipulate Font Size

Posted: Mon Jan 07, 2013 6:24 pm
by djrikki
How do I stipulate a particular Label/Text object to be a particular font size? Or do I have default to using a bridge?

Re: Stipulate Font Size

Posted: Mon Jan 07, 2013 9:33 pm
by Mazze
See "Area.Font" in MUIRoyale documentation.

Re: Stipulate Font Size

Posted: Mon Jan 07, 2013 11:02 pm
by djrikki
Thanks, but doesn't answer the question, MUI Royale docuementation explains that it expects a string here 'tiny', 'normal', 'big' etc... not a number, e.g. 72 point font.

Re: Stipulate Font Size

Posted: Tue Jan 08, 2013 8:34 pm
by Mazze
In the programming language C you can use a "struct TextFont*" with the MUIA_Font attribute.
http://www.sasg.com/mui/autodocs/MUI_Ar ... #MUIA_Font
There you can define a font with name and size.

Unless Andreas add a way to add a font specification to MUIRoyale you are limited to the special values like "Big". (Correct me if I'm wrong, Andreas)

Re: Stipulate Font Size

Posted: Thu Jan 10, 2013 12:04 pm
by airsoftsoftwair
Yes, there's currently no way to use a custom font size because I think it's against the MUI philosophy to use hard-coded font sizes or faces.