I wonder if it's possible for the string rendering code to look at
the character range and then simply change the order of the rendering
of the characters based on some rules:
look at a character
if (it's in the range of characters that should be rendered right to
left) {
scan forward until you find a non-space character that should be
rendered left to right
render the characters in revers order until you get back to the
first character
skip forward to after the last character rendered
}
also, the scrolling code could look at the first character that it's
asked to scroll and render the animation right to left if it's in the
right-to-left range.
On Nov 3, 2005, at 2:38 AM, Triode wrote:
It seems to me this came up before, in another context. Someone
wanted
to mount a slim upside down under a kitchen cabinet, and wanted to
know
if the display could run upside down.
I think he gave up and mounted it another way, leaving the
question of
whether the software can perform this trick unanswered.
The software is responsible for building bitmaps which are sent to
the client. So clearly the software _could_ build the bitmaps
rotated by 180 degrees. However all the code assumes normal
orientation of the display so this would need a reasonably amount
of rewriting. All the animation routines in the firmware would be
reversed too (scrolling bottom line would become scolling top
line). In short, rotating the display hardware is definately easier...
_______________________________________________
Discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss
_______________________________________________
Discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss