]> Pileus Git - ~andy/gtk/commit
Set the size of the font from the description. (gdk_text_width): Gross
authorAlexander Larsson <alexl@redhat.com>
Wed, 29 Nov 2000 13:49:37 +0000 (13:49 +0000)
committerAlexander Larsson <alexl@src.gnome.org>
Wed, 29 Nov 2000 13:49:37 +0000 (13:49 +0000)
commitb1b6c9fc7af328101fb7664e2c36d7116697ba92
tree41e1fbc5bde4a57706240924d99317285fcaa246
parent696d0bc1b0cf64bce68a78a227fe5d29abdbb3ea
Set the size of the font from the description. (gdk_text_width): Gross

2000-11-29  Alexander Larsson  <alexl@redhat.com>

* gdk/linux-fb/gdkfont-fb.c (gdk_font_from_description):
Set the size of the font from the description.
(gdk_text_width): Gross hack that calculates the width
of text by text_length * size/2. This is necessary because
GtkLabel does some ugly gtk_string_width call to calculate
an good size.
(linux-fb/gdkprivate-fb.h): Removed unused field FT_Face.
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/linux-fb/gdkfont-fb.c
gdk/linux-fb/gdkprivate-fb.h