Re: [Silgraphite-devel] Re: Pango and SILGraphite was Re: Possible Pango 1.4 ideas



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]