character joining and shaping

View: New views
3 Messages — Rating Filter:   Alert me  

character joining and shaping

by Sencer Sultanoglu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi,
I've compiled fribidi 0.10.9 on Fedora 9. I read in the list that it supports character joining and shaping, I use utf-8, and see joined characters using printf on the console. But my application cannot display joined characters. I downloaded font ( bdavat ) from :
 
 
and I converted it to bdf format in order to use in my application. ttf to bdf conversion seems to be correct, for example : 0x0621 - 0x064A and 0xFE81 - 0xFEFC contains Arabic characters.
 
I've also attached samples from the application.
 
What might be the problem?
 
Thank you,
 
Sencer
 
 



_______________________________________________
fribidi mailing list
fribidi@...
http://lists.freedesktop.org/mailman/listinfo/fribidi

example.PNG (2K) Download Attachment
example2.PNG (3K) Download Attachment

Re: character joining and shaping

by Dov Grobgeld-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is not really answering your question, but I believe that shaping is too difficult to do without a good engine, and even though fribidi can take care of the character order and the glyph substitution, there is much more than that to get good looking output, as well as selections, cursor hit detection, etc. And that's what you get when you use a good layout engine like Pango with or without Gtk or Qt. Unless you have some old application that you want to translate, you should move to a modern engine.

Just my ¢2...

Dov


2009/6/22 Sencer Sultanoglu <sencer.sultanoglu@...>
Hi,
I've compiled fribidi 0.10.9 on Fedora 9. I read in the list that it supports character joining and shaping, I use utf-8, and see joined characters using printf on the console. But my application cannot display joined characters. I downloaded font ( bdavat ) from :
 
 
and I converted it to bdf format in order to use in my application. ttf to bdf conversion seems to be correct, for example : 0x0621 - 0x064A and 0xFE81 - 0xFEFC contains Arabic characters.
 
I've also attached samples from the application.
 
What might be the problem?
 
Thank you,
 
Sencer
 
 

_______________________________________________
fribidi mailing list
fribidi@...
http://lists.freedesktop.org/mailman/listinfo/fribidi



_______________________________________________
fribidi mailing list
fribidi@...
http://lists.freedesktop.org/mailman/listinfo/fribidi

Re: character joining and shaping

by Behdad Esfahbod-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Fribidi 0.10.x does NOT support shaping.  You need fribidi 0.19.x.

behdad

On 06/22/2009 12:07 PM, Sencer Sultanoglu wrote:

> Hi,
> I've compiled fribidi 0.10.9 on Fedora 9. I read in the list that it
> supports character joining and shaping, I use utf-8, and see joined
> characters using printf on the console. But my application cannot
> display joined characters. I downloaded font ( bdavat ) from :
> http://www.bornaray.com/en_downloads.asp?fn=per_downloads&rfn=en_downloads
> <http://www.bornaray.com/en_downloads.asp?fn=per_downloads&rfn=en_downloads>
> and I converted it to bdf format in order to use in my application. ttf
> to bdf conversion seems to be correct, for example : 0x0621 - 0x064A and
> 0xFE81 - 0xFEFC contains Arabic characters.
> I've also attached samples from the application.
> What might be the problem?
> Thank you,
> Sencer
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> fribidi mailing list
> fribidi@...
> http://lists.freedesktop.org/mailman/listinfo/fribidi
_______________________________________________
fribidi mailing list
fribidi@...
http://lists.freedesktop.org/mailman/listinfo/fribidi