Area.Font

Discuss GUI programming with the MUI Royale plugin here
Post Reply
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Area.Font

Post by djrikki »

Hello,

I am trying to work out how to pick a font that is both 'Tiny' and 'Fixed' without altering any MUI settings. So what is the correct syntax for specifying a font and font-size directly? And at the same time the value of the font-size must not be specific?

Code: Select all

/* this doesn't work */
<floattext id="evo_log-main" font="Courier, -2" background="groupback" tabsize="4"></floattext>
Why?
Because when applying a backpen you get an undesired effect with proportational-based fonts, see other thread where I am trying to create a vertical Line Number display, I've had to use PadNum() instead as a workaround.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Area.Font

Post by airsoftsoftwair »

MUI doesn't allow the use of arbitrary fonts. You can only access the ones predefined by the user in the MUI preferences.
Post Reply