pango


Introduction:

PANGO is a library designed for the arrangement and display of text,
including international fonts.

PANGO can work with a variety of font libraries, or it can
integrated with Cairo, forming a complete package.

Web Site:

The PANGO home page at pango.org:

http://www.pango.org/

Reference:

Usage:

On any ARC cluster, check the installation details
by typing "module spider pango".

PANGO requires that the appropriate modules be loaded before it can
be used. One version of the appropriate commands for use on NewRiver is:

module purge
module load gcc/5.2.0
module load pango/1.40.5
    

Examples:

The following batch file demonstrates the use of PANGO:

#! /bin/bash
#
#PBS -l walltime=0:05:00
#PBS -l nodes=1:ppn=1
#PBS -W group_list=newriver
#PBS -q open_q
#PBS -j oe
#
cd $PBS_O_WORKDIR
#
module purge
module load gcc/5.2.0
module load pango/1.40.5
#
gcc -I$PANGO_INC -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -c pango_test.c
#
gcc -o pango_test pango_test.o -lglib-2.0 -lgobject-2.0 -lpango-1.0 -lm -lpangocairo-1.0 -lcairo
rm pango_test.o
#
./pango_test text.png

A complete set of files to carry out a similar process are available in
pango_example.tar