ID:1259999
 
(See the best response by Tom.)
Code:
o.maptext = "<font size=\"[size]\" face=\"[font]\" color=\"#[color]\">[text]</font>"


Problem description:
is it possible to do this?

Currently it just makes the text completely disappear.
Best response
The reason the text is disappearing is that you are most likely setting size in pixels, and it is actually using an html specification (just like the output box). So if you do font size=30, you are making a huge font that is most likely exceeding your maptext_width/height. If you want to use pixel sizes, then you can use css. The best way is to set the style-sheet for your map control but you can always do it on the fly with span tags, eg:
maptext = "<span style=font-size:30pt>hello!</span>"

Alternatively you can look up the html sizing parameters (they go by relative sizes, so you would do font size=+1 or -1 to increase/decrease from the default).
alright thanks tom.