Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: [Idea] Right To Left Implementation.

[Idea] Right To Left Implementation.

From: Liberman Shachar <Road_Runner_at_barak.net.il>
Date: 2005-06-25

Hello. I'm having thoughts about implementing right to left languages
correctly (Un-mirrored.)

it's pretty simple: there should be a function somewhere in the OS level,
that should go through the characters of a string that is going to be
displayed. when it hits a right to left laguage character (Hebrew or Arabic)
it should paste it into a new string. it continues pasting the next
character in the same string at the first place, making the actual first
character-second. This is as long as it won't hit a latin letter. when it
does, it should crop the first string and paste the new string at the right
place. it should then coninue scanning for further accurance of right to
left laguage characters and deal the same way with them.

This is a very general description, of course there could be harder or
easier ways to implement this. but anyhow, it sounds pretty easy to me, I
wanted to know if this isn't too much work for the CPU to deal with, And is
there someone working of something similar to this?

I would love to write this algorithm myself, But I'm way too busy to even
try. (I got as far as installing the Dev enviroment, not ever programmed in
C before)

have a nice day all! Liberman Shachar.

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox
Received on Sun Jun 26 01:20:23 2005


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa