FontRegistry, Get(family as String, size as Integer, bold as Boolean, italic as Boolean) as String
string = family, font-size, pixel-size, style-hint, weight, style, underline, strikeout, fixed-pitch, raw-mode
I'm using the default font for roImageCanvas and by varying the values for the string came up with this:
family null - using default
font-size 1 to 100 - 0 = effectively size 12, size of 30 and 21 returns trash for text, 0's for alpha characters.
pixel-size (-1) - Neg No effect, Pos Same as font size
style-hint (5) - No effect
weight (1) - Value of 63 = bold, after update to 5.3 3019 changed to 75 ????
style (0) - Mod(x,4) = 1,2,3 italics 0=normal
underline Non-zero = underline
strikeout Non-zero = strike through
fixed-pitch No effect
raw-mode No effect