In reply to Steve Obbayi ([email protected]):
> Date: Thu, 15 Sep 2011 18:58:11 +0300 (EAT)
> From: Steve Obbayi <[email protected]>
> To: bf-blender developers <[email protected]>
> Subject: Re: [Bf-committers] How & When could we support right-to-left
> languages?
> Reply-To: bf-blender developers <[email protected]>
>
> I am also not sure on the progress on this, I have some knowledge of Arabic,
> although
> not my first language. I would also like to get my hands dirty on this. Any
> pointers on where to pick up
> will be much appreciated.
>
> Steve
As I see it breaking things down should be like this:
do some google searches for: gettext bidi
Read up on issues and how people are doing it.
Then we have two things we need to deal with:
truncating strings
justifcation
For truncating strings, look at:
source/blender/blenfont/intern/blf_font.c (function blf_font_draw)
notice the len property, you'll need to rewrite this
and other functions so if bidi then
grab the string starting from the other end...
The justifcation is probably a little more complex but same sort of deal...
Kent
>
> ----- "xiangquan xiao" <[email protected]> wrote:
>
> > After congcong made an advertisement about garlic in the
> > blender-nations,
> > more and more volunteers come to contribute to the translation
> > program.
> > However, Hebrew and Persian(Farsi) as well as Arabic are written from
> > right
> > to left. We have disscussed this issue not long ago, but it seems a
> > little more
> > urgent than I ever thought.
> >
> > Is there somebody working for this? Or at least any plan?
> > I'd like to help on this, but I'm totally unfamiliar with these
> > languages,
> > as well as the text rendering process :(
> >
> > Regards!
> > _______________________________________________
> > Bf-committers mailing list
> > [email protected]
> > http://lists.blender.org/mailman/listinfo/bf-committers
> _______________________________________________
> Bf-committers mailing list
> [email protected]
> http://lists.blender.org/mailman/listinfo/bf-committers
>
--
[email protected]
http://www.cs.umn.edu/~mein
_______________________________________________
Bf-committers mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-committers