From d33fb32d4e5cee5f9bd7b1c8047fead5c3d9eba7 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Fri, 20 Dec 2002 18:26:12 +0000 Subject: [PATCH] Update directories in download locations; add information about fontconfig Fri Dec 20 13:10:06 2002 Owen Taylor * gtk/building.sgml: Update directories in download locations; add information about fontconfig and Xft2. --- docs/reference/ChangeLog | 5 +++ docs/reference/gtk/building.sgml | 55 +++++++++++++++----------------- 2 files changed, 31 insertions(+), 29 deletions(-) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 531ab5bad..dc604a031 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,8 @@ +Fri Dec 20 13:10:06 2002 Owen Taylor + + * gtk/building.sgml: Update directories in download + locations; add information about fontconfig and Xft2. + 2002-12-18 Matthias Clasen * gtk/tmpl/gtkcontainer.sgml: Add docs. diff --git a/docs/reference/gtk/building.sgml b/docs/reference/gtk/building.sgml index d315b0b88..4d268de79 100644 --- a/docs/reference/gtk/building.sgml +++ b/docs/reference/gtk/building.sgml @@ -142,7 +142,7 @@ How to compile GTK+ itself library along with version number information.) The version of pkg-config needed to build GTK+ is mirrored in the dependencies directory - on the GTK+ FTP + on the GTK+ FTP site. @@ -169,15 +169,17 @@ How to compile GTK+ itself The GLib library provides core non-graphical functionality such as high level data types, Unicode manipulation, and a object and type system to C programs. It is available - from the GTK+ + from the GTK+ FTP site. - Pango is a library for internationalized text handling. It - is available from the GTK+ FTP site. + Pango is a library + for internationalized text handling. Itis available from + the GTK+ FTP + site.. Either Pango-1.0 or Pango-1.2 can be used + with GTK+-2.2, though Pango-1.2 is recommended. @@ -186,7 +188,7 @@ How to compile GTK+ itself interfaces allowing accessibility technologies such as screen readers to interact with a graphical user interface. It is available from the GTK+ FTP site. + url="ftp://ftp.gtk.org/pub/gtk/v2.2/">GTK+ FTP site. @@ -217,35 +219,35 @@ How to compile GTK+ itself compile GTK+. You probably already have these libraries installed, but if not, the versions you need are available in the dependencies directory on the the - GTK+ + GTK+ FTP site.. (Before installing these libraries from source, you should check if your operating system vendor has prebuilt packages of these libraries that you don't have installed.) - - - While not required for running GTK+ on X, you may want install the - FreeType - library so that the PangoFT2 backend for Pango will - be built. This backend is used by the linux-fb backend for - GTK+ and applications that want to render independently - of the X display. You'll need at least version 2.0.1. - - The libraries from the X window system are needed to build Pango and GTK+. 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. If you have a recent - version of the XFree86 system, such as 4.2.0, then Pango - and GTK+ will take advantage of the Xft and Xrender - libraries to provide anti-aliased and scaleable fonts in - a much more sophisticated fashion then the support for - core X fonts. + operating system vendor provides. + + + + + The fontconfig + library provides Pango with a standard way of locating + fonts and matching them against font names. The Xft2 + library, distributed with fontconfig, provide support for + scaleable and antialiased fonts on X. Pango includes two + backends that work on top of fontconfig: an Xft2 backend + and a backend that uses fontconfig and the underlying + FreeType + library directly. Neither backend is mandatory, but the + Xft2 backend is the preferred backend for X and the FreeType + backend is needed by many applications. @@ -271,13 +273,8 @@ How to compile GTK+ itself start compiling your own GTK+ applications. You can test your GTK+ installation by running the gtk-demo program that - GTK+ installs. If you have the Xft library, you can turn on - anti-aliased fonts by setting the GDK_USE_XFT - environment variable. + GTK+ installs. - - GDK_USE_XFT=1 gtk-demo - If one of the configure scripts fails or running make fails, look closely at the error -- 2.43.2