Re: [Silgraphite-devel] Re: Pango and SILGraphite was Re: Possible Pango 1.4 ideas
- From: Owen Taylor <otaylor redhat com>
- To: ytang0648 aol com
- Cc: ftang netscape com, Sharon_Correll sil org, gtk-i18n-list gnome org, silgraphite-devel lists sourceforge net
- Subject: Re: [Silgraphite-devel] Re: Pango and SILGraphite was Re: Possible Pango 1.4 ideas
- Date: Thu, 30 Jan 2003 10:22:46 -0500 (EST)
ytang0648 aol com writes:
> Owen:
> I am reading the Pango 1.1.6 code
> and it seems there are several example about the script_shape you talk about under the pango-1.1.6/modules directory.
Yes, basically a "shaper module" is just an implementation of
script_shape.
> One question. How does pango decide which shaper to use ? What is
> the algorithm (based on PangoCoverage ?) to dertermine which shaper
> to be used?
The current algorithm is that modules are registered by:
Backend (Xft fonts, old style X fonts, win32 fonts, etc.)
Covered ranges
And for a given backend, Pango always picks the same shaper for the
same range.
This system would clearly need to be extended a bit if we had
different shapers for different subtypes of fonts (OpenType,
Graphite) fonts within the same Xft backend.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]