0

roTextField readability



Hey guys, I'm using a HD1010 player for testing. I've noticed something about the roTextField object and I have questions. 1. Is it normal that the text produced by a roTextField with default settings and stock font is almost unreadable, even on 1920x1080 displays? The characters are really small, they seem 4px tall. 2. Why is there so much space between characters? This causes my output to take up more space than necessary. It outputs like: H e l l o w o r l d ! How can I make text take up less horizontal space without the text getting too small? Some example code to reproduce the problem: (can be entered directly into the script debugger) p = CreateObject("roAssociateArray") p.AddReplace("CharWidth", 32) p.AddReplace("CharHeight", 48) p.AddReplace("BackgroundColor", &Hffffff) p.AddReplace("TextColor", 0) t = CreateObject("roTextField", 0, 0, 80, 24, p) t.SendLine("Lorem ipsum dolor sit amet, consectetur adipiscing elit. In vitae pulvinar dolor. Phasellus nec purus ante, at commodo arcu. Sed in venenatis nunc. Etiam aliquet faucibus mi, sit amet tempor mi pellentesque ut.") If more explanation is needed, I can provide screenshots.

2 comments

  • 0
    Avatar
    bennovandenbogaard


    It looks like there is no obvious answer from one of Roku's people, so I like to know if the problem is known and if there will be a fix in the next release of the firmware.
  • 0
    Avatar
    David Bird

    I'm running into the same issue. It's been 8 years since the original post...Anyone have a solution?

Please sign in to leave a comment.