From: <sil...@li...> - 2004-10-25 18:11:06
|
Update of /cvsroot/silgraphite/silgraphite/contrib/pangomod In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21475 Modified Files: README Log Message: update README with some install instructions Index: README =================================================================== RCS file: /cvsroot/silgraphite/silgraphite/contrib/pangomod/README,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- README 22 Oct 2004 10:24:25 -0000 1.2 +++ README 25 Oct 2004 18:10:57 -0000 1.3 @@ -1,4 +1,5 @@ -work in progress +Patches +------- pango.diff is a patch for pango to allow it to use a module/engine declared as covering PANGO_SCRIPT_PREFERRED before any other matching engine. @@ -10,6 +11,11 @@ Some debug code needs removed before I submit it. +module.diff has debug removed, apply instead of pango.diff +_not_ as well as. + +script.diff is the second part of the pango patch. + fontconfig.diff is a patch for fontconfig to allow it to detect fonts with the Silf table and cache that information. It has been submitted as fontconfig bug 105 @@ -17,3 +23,30 @@ it works for fontconfig 2.2.3 fontconfig-cvs.diff is the same change but for fontconfig CVS HEAD. + +Building +-------- + +assuming you are installing everything to the same prefix dir <prefix> + +export PATH=<prefix>/bin:$PATH +export LD_LIBRARY_PATH=<prefix>/lib:$LD_LIBRARY_PATH +export PKG_CONFIG_DIR=<prefix>/lib/pkgconfig:$PKG_CONFIG_DIR + +Build and install fontconfig to <prefix> +Build and install pango to <prefix> +Build and install silgraphite to <prefix> +Build and install pangographite to <prefix> + +Finally ou need to create a file ~/.pangorc which has +[Pango] +ModulesPath=<path to installed pangographite module>:<path to installed pango modules> + +e.g. +[Pango] +ModulesPath=/opt/graphite/lib/silgraphite/pango/1.5.2:/opt/graphite/lib/pango/1.4.0/modules + +Then run pango-querymodules > <prefix>/etc/pango/pango.modules +e.g. pango-querymodules > /opt/graphite/etc/pango/pango.modules + +Now when you run a program - try testtext, it should start using graphite if it can. |