diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 41 |
1 files changed, 24 insertions, 17 deletions
@@ -2,16 +2,18 @@ Pango is a library for layout and rendering of text, with an emphasis on internationalization. Pango can be used anywhere that text layout is needed; however, most of the work on Pango-1.0 was done using the GTK+ widget toolkit as a test platform. Pango forms the core of text -and font handling for GTK+-2.0. +and font handling for GTK+-2.x. Pango is designed to be modular; the core Pango layout can be used -with four different font backends: +with three different font backends: - - Core X windowing system fonts - Client-side fonts on X using the Xft library - Direct rendering of scalable fonts using the FreeType library - Native fonts on Microsoft backends +(There is also a core-X font backend still present in the code; +usage of this backend is deprecated) + Dynamically loaded modules then handle text layout for particular combinations of script and font backend. @@ -26,10 +28,10 @@ For more information about Pango, see: Dependencies ============ -Pango depends on version 2.0.0 of the GLib library; more information +Pango depends on version 2.4.0 of the GLib library; more information about GLib can be found at http://www.gtk.org/. -The recommended font backend for X in Pango-1.2 is the Xft backend +The recommended font backend for X in Pango-1.4 is the Xft backend which uses version 2 of the Xft library to manage client side fonts. Benefits of the Xft backend include, performance, support for OpenType fonts, and antialiasing. Version 2 of @@ -40,8 +42,9 @@ your system. Both of these libraries are available from the same place as fontconfig. Note that an earlier version of Xft is shipped with version -of XFree86 up to 4.2. This version does not work with Pango-1.2; -Pango-1.2 requires version 2 of Xft, which is present in XFree86-4.3. +of XFree86 up to 4.2. This version does not work with Pango-1.4; +Pango-1.4 requires version 2 of Xft, which is present in XFree86-4.3 +and newer. Both Xft and the optional PangoFT2 backend require the fontconfig library (http://www.fontconfig.org) to look up fonts. At least version @@ -55,12 +58,6 @@ the fonts.conf file, found at $(sysconfdir)/fonts/fonts.conf (usually /etc/fonts/fonts.conf) to point at the fonts on your system. -There is also a backend that uses core X protocol fonts. This -backend only requires the standard libraries from the X window -system. You should already have these installed on your system, but -it's possible that you'll need to install the development environment -for these libraries that your operating system vendor provides. - Installation of Pango on Win32 is possible, but is not documented here. See http://www.gimp.org/~tml/win32/downloads.html. @@ -77,10 +74,20 @@ Notes License ======= -Pango is licensed under the terms of the -GNU Lesser Public License (LGPL) - see the file -COPYING for details. +Most of the code of Pango is licensed under the terms of the +GNU Lesser Public License (LGPL) - see the file COPYING for details. + +The OpenType code in pango/opentype is derived from the FreeType +project (http://www.freetype.org) and is dual-licensed under the +GNU Public License and the FreeType license. See see +pango/opentype/FT-license.txt for full details of the FreeType +license. + +Note that binary distributions of Pango must include a disclaimer +that the software is based in part of the work of the FreeType Team, +in the distribution documentation; for instance, by including this +README file. Owen Taylor otaylor@redhat.com -8 August 2002 +16 March 2004 |