RTL(right to left) .font definition.

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

Ahmadi
Just popping in
Just popping in
Posts: 9
Joined: Sun Aug 06, 2006 22:11

RTL(right to left) .font definition.

Postby Ahmadi » Sun Jun 28, 2009 14:17

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

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

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

Postby CrazyEddie » Tue Jun 30, 2009 08:51

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.

Ahmadi
Just popping in
Just popping in
Posts: 9
Joined: Sun Aug 06, 2006 22:11

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

Postby Ahmadi » Tue Jun 30, 2009 13:52

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

Jamarr
CEGUI MVP
CEGUI MVP
Posts: 812
Joined: Tue Jun 03, 2008 23:59
Location: USA

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

Postby Jamarr » Tue Jun 30, 2009 17:24

If somebody helps you by replying to your thread, upvote him/her as a thanks! Make sure to include your CEGUI.log and everything you tried when posting! And remember that we are not magicians!


Return to “Help”

Who is online

Users browsing this forum: No registered users and 13 guests