Simple LASi Example
===================

This directory contains an example C++ program, "SimpleLASiExample.cpp", that demonstrates
how to use libLASi and how to build a program that does so.

The Makefile uses "pkg-config" to determine the proper location of the Pango 
libraries.  Pkg-config is available on all recent Linux distributions.
If you have problems, make sure the environment variable PKG_CONFIG_PATH
includes the path to the "pango.pc" and "lasi.pc" files.  Usually this will be in 
/usr/lib/pkgconfig, /usr/local/lib/pkgconfig, or $PREFIX/lib/pkgconfig where $PREFIX
is an installation prefix that you set up when configuring Pango and LASi.

To compile the example executable, type:

   make example

If that is successful, then type:

   make display 

... to run the executable to produce a PostScript file and then view the
Postscript output using the "gv" viewer.  "gv" is present on most
Linux distributions.

Note that the example renders "Hello" in Arabic, English, Hebrew, and Hindi.
You should verify that you have TrueType or OpenType fonts installed on your
machine for these scripts.  See http://www.unifont.org/fontguide/
if you need fonts.  "Example_1_Result.png" shows what the resulting Postscript
should look like.

Have fun using LASi!

-2004.12.20.ET



