[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emacs-bidi] using fribidi and Pango
From: |
Tomas Frydrych |
Subject: |
Re: [emacs-bidi] using fribidi and Pango |
Date: |
Sun, 04 Dec 2005 22:06:49 +0000 |
User-agent: |
Mozilla Thunderbird 1.0.7 (X11/20051010) |
Behdad Esfahbod wrote:
> My recent work in Pango made me believe that writing general
> purpose libraries for algorithms is just not easy to get right.
> You cannot have an stable general API and high performance
> together. Algorithms to consume low memory and perform fast,
> need to integrate into eachother at levels not quite possible by
> library APIs.
Yes, this is why I have been very resistant to use Pango in the win32
version of AbiWord -- perhaps Pango should limit itself to being a *nix
library, but this is probably not of great interest to this list.
> Even an array containing the input text is being
> problematic. There's always someone asking for UTF-8, one for
> UTF-16, another for UTF-32. Then there are libraries that keep
> some kind of struct Char [], that contains more than the text
> itself. You just cannot write a fast low-overhead library to
> handle them all. And you cannot use glib, since too many
> projects don't use it, so you need to define all the UTF-8 and
> UTF-16 functions yourself, should you go that route. Not talking
> about how hard just finding a 32-bit integer can be...
Yep, the utf8 api of Pango is such a pain when you work with ucs4 ;)
> I'm more interested to see the highlevel PangoLayout object
> extended to cover needs of applications like Emacs and AbiWord.
> And I'm willing to hear more about those needs :).
My gut instinct is that I am not sure whether that is practicable but I
would be very much interested in pursuing this further -- not sure what
would be the best forum where to throw ideas around.
Tomas
___________________________________________________________
Yahoo! Model Search 2005 - Find the next catwalk superstars -
http://uk.news.yahoo.com/hot/model-search/
- Re: [emacs-bidi] using fribidi and Pango, (continued)
- Re: [emacs-bidi] using fribidi and Pango, Eli Zaretskii, 2005/12/02
- Re: [emacs-bidi] using fribidi and Pango, Tomas Frydrych, 2005/12/02
- Re: [emacs-bidi] using fribidi and Pango, Eli Zaretskii, 2005/12/02
- Re: [emacs-bidi] using fribidi and Pango, Behdad Esfahbod, 2005/12/02
- Re: [emacs-bidi] using fribidi and Pango, Tomas Frydrych, 2005/12/04
- Re: [emacs-bidi] using fribidi and Pango, Eli Zaretskii, 2005/12/04
- Re: [emacs-bidi] using fribidi and Pango, Martin Duerst, 2005/12/06
- Re: [emacs-bidi] using fribidi and Pango, Eli Zaretskii, 2005/12/06
- Re: [emacs-bidi] using fribidi and Pango, Behdad Esfahbod, 2005/12/06
- Re: [emacs-bidi] using fribidi and Pango, Behdad Esfahbod, 2005/12/04
- Re: [emacs-bidi] using fribidi and Pango,
Tomas Frydrych <=
- Re: [emacs-bidi] using fribidi and Pango, Omer Zak, 2005/12/04
- Re: [emacs-bidi] using fribidi and Pango, Eli Zaretskii, 2005/12/04
- Re: [emacs-bidi] using fribidi and Pango, Behdad Esfahbod, 2005/12/05
- Re: [emacs-bidi] using fribidi and Pango, Tomas Frydrych, 2005/12/05
- Re: [emacs-bidi] using fribidi and Pango, Eli Zaretskii, 2005/12/05