diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 19b4afcda1..dc6cf43426 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,7 @@ +2002-12-14 Eric Warmenhoven + + * gtk/framebuffer.sgml: Minor updates for 2.2.0. (#67820) + 2002-12-11 Matthias Clasen * gtk/text_widget.sgml: Fix some links. diff --git a/docs/reference/gtk/framebuffer.sgml b/docs/reference/gtk/framebuffer.sgml index 17c1778383..da3d0ee42f 100644 --- a/docs/reference/gtk/framebuffer.sgml +++ b/docs/reference/gtk/framebuffer.sgml @@ -25,11 +25,14 @@ without any changes to the source. Build requirements You need GTK+ 2.0; the 1.2.x series does not have framebuffer support. -To compile GTK+ with framebuffer support you will need FreeType 2, we +To compile GTK+ with framebuffer support you will need FreeType 2; we recommend FreeType 2.0.1 or later, as there was some problems with freetype-config in 2.0. Make sure that you install FreeType before Pango, since Pango also needs it. FreeType can be found at -ftp://ftp.freetype.org. +ftp://ftp.freetype.org. You also +need fontconfig in order to properly use the FreeType 2 backend in Pango. +Fontconfig depends on FreeType as well. Fontconfig can be found at +http://fontconfig.org. @@ -45,7 +48,7 @@ be simple to add. Building and installing -First build and install GLib and Pango as usual, in that order. +First build and install GLib, ATK and Pango as usual, in that order. Then configure GTK+ by running configure (or autogen.sh if running from @@ -61,46 +64,11 @@ Since GtkFB uses FreeType 2 to render fonts it can render TrueType and Postscript type 1 antialiased fonts. -At startup it scans some directories looking for fonts. By default -it looks in $prefix/lib/ft2fonts, and if you want to -change this you must add something like: - - -[PangoFT2] -FontPath = /usr/share/fonts/default/Type1:/usr/share/fonts/default/TrueType - - -To your $prefix/etc/pango/pangorc or ~/.pangorc. - - -You must also set up font aliases for the fonts Sans, Serif and -Monotype. This is done by creating a -$prefix/etc/pango/pangoft2.aliases or -~/.pangoft2_aliases file. You can also set the name of this file using -the key AliasFiles in the PangoFT2 section in pangorc. - - - -An example of a font alias file for the urw fontset is: - -sans normal normal normal normal "urw gothic l" -serif normal normal normal normal "urw palladio l" -monospace normal normal normal normal "nimbus mono l" - - - - -And one using the Windows TrueType fonts is: - -sans normal normal normal normal "arial" -serif normal normal normal normal "times new roman" -monospace normal normal normal normal "courier new" - - -A more detailed example can be found in -examples/pangoft2.aliases in the -Pango distribution. +GtkFB uses fontconfig for configuration of font information, including +directories and aliases. Make sure that you have your fonts.conf file +configured with where your TrueType and Type1 fonts are. Please refer to the +fontconfig documentation for more information. @@ -181,8 +149,8 @@ driver, so instead you can use shift-F1 instead when using this driver. -Pressing Ctrl-Alt-BackSpace kills the GtkFB program. (Can't be pressed -in the xlate driver.) +Pressing Ctrl-Alt-BackSpace kills the GtkFB program. (This can't be +pressed in the xlate driver, so instead you can use shift-F8.)