dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: [Idea] Right To Left Implementation.

[Idea] Right To Left Implementation.

From: Liberman Shachar <>
Date: Sat, 25 Jun 2005 19:58:45 +0200

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.

Received on 2005-06-26

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy