summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2000-12-21 12:27:50 +0000
committerAlexander Larsson <alexl@src.gnome.org>2000-12-21 12:27:50 +0000
commit217e946c3215c2263ebe5ef89f873b3b4d81331c (patch)
tree40640f8c305aca1c972a448fdb2941a132db20ca
parentee053ddd2ece6fafee7633b6b8f8fbe2b684cad8 (diff)
downloadgtk+-217e946c3215c2263ebe5ef89f873b3b4d81331c.tar.gz
Update the docs to the new pangoft2 way.
2000-12-21 Alexander Larsson <alexl@redhat.com> * docs/README.linux-fb: Update the docs to the new pangoft2 way.
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.pre-2-05
-rw-r--r--ChangeLog.pre-2-105
-rw-r--r--ChangeLog.pre-2-25
-rw-r--r--ChangeLog.pre-2-45
-rw-r--r--ChangeLog.pre-2-65
-rw-r--r--ChangeLog.pre-2-85
-rw-r--r--docs/README.linux-fb52
8 files changed, 60 insertions, 27 deletions
diff --git a/ChangeLog b/ChangeLog
index 6d4b4b2549..0a40f44819 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2000-12-21 Alexander Larsson <alexl@redhat.com>
+ * docs/README.linux-fb:
+ Update the docs to the new pangoft2 way.
+
+2000-12-21 Alexander Larsson <alexl@redhat.com>
+
* configure.in:
For linux-fb get the pangoft2 cflags and libs. This needs a recent
pango version.
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index 6d4b4b2549..0a40f44819 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -1,5 +1,10 @@
2000-12-21 Alexander Larsson <alexl@redhat.com>
+ * docs/README.linux-fb:
+ Update the docs to the new pangoft2 way.
+
+2000-12-21 Alexander Larsson <alexl@redhat.com>
+
* configure.in:
For linux-fb get the pangoft2 cflags and libs. This needs a recent
pango version.
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 6d4b4b2549..0a40f44819 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,5 +1,10 @@
2000-12-21 Alexander Larsson <alexl@redhat.com>
+ * docs/README.linux-fb:
+ Update the docs to the new pangoft2 way.
+
+2000-12-21 Alexander Larsson <alexl@redhat.com>
+
* configure.in:
For linux-fb get the pangoft2 cflags and libs. This needs a recent
pango version.
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 6d4b4b2549..0a40f44819 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,5 +1,10 @@
2000-12-21 Alexander Larsson <alexl@redhat.com>
+ * docs/README.linux-fb:
+ Update the docs to the new pangoft2 way.
+
+2000-12-21 Alexander Larsson <alexl@redhat.com>
+
* configure.in:
For linux-fb get the pangoft2 cflags and libs. This needs a recent
pango version.
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 6d4b4b2549..0a40f44819 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,5 +1,10 @@
2000-12-21 Alexander Larsson <alexl@redhat.com>
+ * docs/README.linux-fb:
+ Update the docs to the new pangoft2 way.
+
+2000-12-21 Alexander Larsson <alexl@redhat.com>
+
* configure.in:
For linux-fb get the pangoft2 cflags and libs. This needs a recent
pango version.
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 6d4b4b2549..0a40f44819 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,5 +1,10 @@
2000-12-21 Alexander Larsson <alexl@redhat.com>
+ * docs/README.linux-fb:
+ Update the docs to the new pangoft2 way.
+
+2000-12-21 Alexander Larsson <alexl@redhat.com>
+
* configure.in:
For linux-fb get the pangoft2 cflags and libs. This needs a recent
pango version.
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 6d4b4b2549..0a40f44819 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,5 +1,10 @@
2000-12-21 Alexander Larsson <alexl@redhat.com>
+ * docs/README.linux-fb:
+ Update the docs to the new pangoft2 way.
+
+2000-12-21 Alexander Larsson <alexl@redhat.com>
+
* configure.in:
For linux-fb get the pangoft2 cflags and libs. This needs a recent
pango version.
diff --git a/docs/README.linux-fb b/docs/README.linux-fb
index 8a882982b2..940afd496c 100644
--- a/docs/README.linux-fb
+++ b/docs/README.linux-fb
@@ -14,6 +14,8 @@ on libfribidi, but for normal GtkFB usage that can be ignored.
You also need freetype 2, I recommend that you use 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
Hardware requirements:
@@ -30,38 +32,34 @@ First build and install glib and pango as usual, in that order.
Then configure Gtk by running configure (or autogen.sh if running from
cvs) with --with-gdktarget=linux-fb.
-Make sure that pango and gtk+ are installed in the same prefix, as
-gtk+ installs a new pango module that pango must be able to find.
-
Then compile as ususal: make; make install
-This installs a new pango module that pango must be instructed to
-find. This is done by running something like:
-pango-querymodules > /your_prefix/etc/pango/pango.modules
-(look at this file and make sure it contains a row with fb-basic.so.
-
Fonts:
------
Since GtkFB uses freetype 2 to render fonts it can render truetype and
-postscript type 1 antialiased fonts. At startup it scans these
-directories looking for any fonts:
-/usr/share/fonts/default/TrueType
-/usr/share/fonts/default/Type1
-/usr/lib/X11/fonts/TrueType
-/usr/lib/X11/fonts/Type1
-$(prefix)/share/fonts
-
-It also has a hardcoded font alias handling. This is important because
-most program refers to the standard fonts by the names "Sans", "Serif"
-and "Monotype". The default aliases in GtkFB maps these to the
-M$ truetype fonts: Arial, Times New Roman, and Courier New (you need
-to own a copy of Windows to use these) and the type1 fonts URW Gothic,
-URW Bookman and Courier. You will need to have at least Arial or URW
-Gothic installed, because the "Sans" font is used as a last case font.
-
-If you've done all this and fonts still doesn't work, make sure you've
-run pango-querymodules as described in the building and installing
-section.
+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/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 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.
Running:
--------