Page 1 of 1

RTL(right to left) .font definition.

Posted: Sun Jun 28, 2009 14:17
by Ahmadi
Hi
I want use an font(its Arabic ,RTL(right to left), and an unicode, TTF font )
Here is my .font definition :

Code: Select all

<?xml version="1.0" ?>
<Font Name="rtlfont" Filename="rtlfont.ttf" Type="FreeType" Size="12" NativeHorzRes="800" NativeVertRes="600" AutoScaled="true"/>



Im using the font CELayoutEditorSetup-0.6.0 for testing the font.
Allthings is good and i can use the font, but the problem is here that the result of is not RTL and is reverse. for example if i write "123" in text of a button, "321" will appear in CEGUI.
Anyone can help me?

Thanks for any help.
H.Ahmadi

Re: RTL(right to left) .font definition.

Posted: Tue Jun 30, 2009 08:51
by CrazyEddie
Right-to-left and left-to-right are not properties of the font, which is essentially just a collection of glyph definitions; you can't get right-to-left just by using a different font - it requires additional support in the software. There is no right-to-left support in the releases up to and including the 0.6.x series. The first release that will support right-to-left text will be 0.7.0.

HTH

CE.

Re: RTL(right to left) .font definition.

Posted: Tue Jun 30, 2009 13:52
by Ahmadi
CrazyEddie wrote:Right-to-left and left-to-right are not properties of the font, which is essentially just a collection of glyph definitions; you can't get right-to-left just by using a different font - it requires additional support in the software. There is no right-to-left support in the releases up to and including the 0.6.x series. The first release that will support right-to-left text will be 0.7.0.

HTH

CE.

Thank you for your attention and post.
I want use CEGUI is a fully right to left project.
If its possible please say me when 0.7.0 version will release (approximately)?


Best Regards
H.Ahmadi

Re: RTL(right to left) .font definition.

Posted: Tue Jun 30, 2009 17:24
by Jamarr