roFontRegistry is descibed in two places in SDK - once in BrightScriptReferenceManual.pdf as
Boolean Register(String path)
roArray GetFamilies(Void)
Object GetFont(String Family, integer size, Boolean bold, Boolean italic)
Object GetDefaultFont(integer size, Boolean bold, Boolean italic)
Object GetDefaultFont()
Integer GetDefaultFontSize()
and another time in ComponentReference.pdf, this time as
Boolean Register(String path)
roArray GetFamilies(Void)
String Get(String Family, integer size, integer weight, Boolean italic)
I find the difference confusing, can someone explain what's going on?
There also seems to be duplicated functionality in
' roFontMetrics (from Component Reference guide)
roAssociativeArray Size(String stringToDraw)
' vs analogous roFont (from B/S Reference)
Integer GetOneLineHeight()
Integer GetOneLineWidth(String text, Integer MaxWidth)