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 15:18:51 -0500 (EST)
ytang0648 aol com writes:
> In a message dated 1/30/2003 10:22:46 AM Eastern Standard Time, otaylor redhat com writes:
>
> >
> > The current algorithm is that modules are registered by:
> >
> > Backend (Xft fonts, old style X fonts, win32 fonts, etc.)
> > Covered ranges
> >
>
> I guess the "Backend" you refer to is the PANGO_RENDER_TYPE_xxx, right?
> Where is the registeration taking place?
>
> I can only see code to query it ( say pango_x_get_shaper_map callign
> pango_find_map
>
> but where is the code register it? is that register through code in
> the lib init time. Or it is through some build time configuration
> file registration ? Do you have a "how to add a shaper" or "how to
> add a render" cheat sheet? (or previous email) that I could read :)
pango-querymodules is used run script_engine_list() function
of a set of modules and write out a pango.modules file.
The 2 second of installing a new moudle is:
modversion=`pkg-config --variable=pango_module_version pango`
cp $my_module.so $libdir/pango/$modversion/modules/
pango-querymodules > $sysconfdir/pango/pango.modules
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]