Rendering can be with with Cairo or Xft libraries, or directly
to an in-memory buffer with no additional libraries.
- - Native fonts on Microsoft Windows using Uniscribe if available for
- complex script handling. Rendering can be done via Cairo or
- directly using the native Win32 API.
+ - Native fonts on Microsoft Windows using Uniscribe for complex
+ script handling. Rendering can be done via Cairo or directly
+ using the native Win32 API.
- - Native fonts on MacOS X, rendering via Cairo.
+ - Native fonts on MacOS X with the CoreText framework, rendering via
+ Cairo.
The integration of Pango with Cairo (http://cairographics.org)
provides a complete solution with high quality text handling
Pango depends on the GLib library; more information about GLib can
be found at http://www.gtk.org/.
-When using client side fonts, the fontconfig library
-(http://www.fontconfig.org) to look up fonts. At least version 2.0.9
-of the FreeType font handling library (http://www.freetype.org) is
-also required.
+To use the Free Software stack backend, Pango depends on the following
+libraries:
+
+ * fontconfig for font discovery (http://www.fontconfig.org),
+
+ * FreeType for font access (http://www.freetype.org),
+
+ * HarfBuzz for complex text shaping (http://www.harfbuzz.org/)
Cairo support depends on the Cairo library (http://cairographics.org).
The Cairo backend is the preferred backend to use Pango with and is
Behdad Esfahbod
behdad@gnome.org
-26 February 2007
+20 August 2012
harfbuzz_required=0.9
have_harfbuzz=false
-PKG_CHECK_MODULES(HARFBUZZ, harfbuzz >= $harfbuzz_required, have_harfbuzz=true)
+PKG_CHECK_MODULES(HARFBUZZ, harfbuzz >= $harfbuzz_required, have_harfbuzz=true, have_harfbuzz=false)
AM_CONDITIONAL(HAVE_HARFBUZZ, $have_harfbuzz)
+if ! $have_harfbuzz; then
+ have_freetype=false
+ have_xft=false
+fi
#
# We must have some backend defined, in order for the pango-querymodules
# patch to fix that rule. :-)
#
if $have_freetype || $have_xft || $have_cairo || $have_win32 ; then : ; else
- AC_MSG_ERROR([*** Could not enable any of FreeType, Xft, Cairo, or Win32 backends.
+ AC_MSG_ERROR([*** Could not enable any backends.
*** Must have at least one backend to build Pango.])
fi