[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Question on Freetype/OpenType feature
From: |
mpsuzuki |
Subject: |
Re: [ft-devel] Question on Freetype/OpenType feature |
Date: |
Tue, 10 May 2005 16:23:09 +0900 |
Hi Funda Wang,
On Tue, 10 May 2005 06:38:24 +0200 (CEST)
Werner LEMBERG <address@hidden> wrote:
>> Can freetype process TrueType/OpenType feature correctly?
>
>No. This should be done one level higher since it needs contextual
>string processing normally. Have a look at the Pango or ICU
>libraries, or do it yourself!
As previous posts told, FreeType is font library and not
text renderer, it should not act as locale-aware softwares.
In the architechture of Pango, such OpenType functionalities
are handled by dynamic loadable modules in pango-x.y.z/modules/arabic/*.[ch],
take a look on them for how Pango uses OpenType.
However, it seems that all modules are locale-independent
at present. I don't know whether Pango's module-loader is
locale-aware (if so we can write simple glyph substituter and
let module-loader to use it when expected locale is selected),
or locale-unaware (if so we have to write locale-aware module,
but i'm afraid it breaks Pango's structural hierarchy).
Regards,
mpsuzuki