Installation of Pango
Prepare Pango by running the following
commands:
meson setup build --prefix=/usr \
--buildtype=release \
--wrap-mode=nofallback \
-D introspection=enabledninja -C build
Three tests, test-font-data, test-font, and test-layout
are known to fail due to missing font data.
To test the results, issue:
ninja -C build test
Now Install, as the root user:
ninja -C build install
Command Explanations
-D introspection=disabled: Use this switch if you do not
want to use GObject Introspection.
Configuring Pango
Config Files
/etc/pango/pangorc, ~/.pangorc
and the file specified in the environment variable
PANGO_RC_FILE
Contents
Installed Programs:
pango-list, pango-segmentation, and pango-view
Installed Libraries:
libpango-1.0.so, libpangocairo-1.0.so, libpangoft2-1.0.so,
and libpangoxft-1.0.so
Installed Directories:
/usr/include/pango-1.0 and
/usr/share/doc/pango-1.57.0 (if gi-docgen is available)
Short Descriptions
pango-list |
displays a list of fonts that Pango
can use that are currently installed on the system
|
pango-segmentation |
shows text segmentation as determined by Pango.
|
pango-view |
renders a given text file through Pango
for viewing purposes
|
libpango-1.0.so
|
contains low level layout rendering routines, a high level driver for
laying out entire blocks of text, and routines to assist in editing
internationalized text
|