Display errors with labels
- From: Hannes Mayr <hannes mayr indunet it>
- To: gtk-app-devel-list gnome org
- Subject: Display errors with labels
- Date: Tue, 28 Mar 2006 16:08:50 +0200
Hello,
I'm using GTK 2.0.9 over DirectFB on an embedded board. Runs without
problems, except a bit slow, but at the moment my main problem is that
sometimes my labels are displayed completly wrong. Almost every char of
the label text is displayed in a different font size. Here a bad picture
how it does look like: http://www.indunet.it/temp/CIMG0567.JPG
And another one where the labels are correct:
http://www.indunet.it/temp/CIMG0568.JPG
The font size of every label is set through my gtk rc file and setting a
widget name to every GtkLabel in my code. If I don't load the rc file,
hence all labels have their default font size, the problem doesn't seem
to occur.
Example from my rc file:
style "title_label" {
font_name = "Arial 16"
fg[NORMAL] = { 0.0, 0.0, 0.0 }
}
style "footer_label" {
font_name = "Arial 10"
fg[NORMAL] = { 0.0, 0.0, 0.0 }
}
widget "*.title" style "title_label"
widget "*.footer" style "footer_label"
But I don't really think the problem has something to do with the rc
file. It seems more that gtk (or pango) has problems with labels and
different font sizes.
Does somebody have an idea what could be wrong or where I can look to
find the source of this problem?
Thanks,
Hannes
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]