RE: [gtkextra] No text is drawn

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I remember reading that this is a bug in gnome that propagates through
Pango. Gtk-Extra is not dependent on Gnome, but version 2.x is dependent on
Pango which in turn uses some sort of global font settings from GNOME. That
is why if you don't gane the gnome-settings-daemon running the fonts don't
show up. I also remember that the Mandrake people had placed a request to
fix the bug in the GNOME bug tracker. Not sure where that ended up at. I
also wrote a utility that uses gtkextra to do the plotting and the way I got
around it was by adding the code from GtkExtra 1.x that handles the fonts
into the GtkExtra 2.x source. Then using preprocessor code (#if #endif) I
can switch between the Pango and non Pango font handling. This works really
well for us but I don't think it would be appropriate to include into the
gtkextra development. On the other hand it would be easy to remove once the
GNOME/Pango issue is resolved.

This requires about a day of work to do and test. I did not implement this
all accross the GtkExtra libraries, for example the font chooser, but it is
worth the effort.

-MQ

> -----Original Message-----
> From: scigraphica-gtkextra-admin@xxxxxxxxxxxxxxxxxxxxx
> [mailto:scigraphica-gtkextra-admin@xxxxxxxxxxxxxxxxxxxxx]On Behalf Of
> romildo@xxxxxxxxxxx
> Sent: Thursday, July 28, 2005 9:41 AM
> To: gtk-list@xxxxxxxxx; scigraphica-gtkextra@xxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [gtkextra] No text is drawn
>
>
> On Wed, Jul 20, 2005 at 04:42:38PM -0300, romildo@xxxxxxxxxxx wrote:
> >
> > I am just trying the plotting examples
> > from gtk+extra-2.1.1 and found that
> > the text is not drawn.
>
> To be more clear, I am trying the
> testgtkplotcanvas.c program from the
> gtk+extra-2.1.1 distribution. The text is
> readable only when gnome is running.
> Or better, when /usr/libexec/gnome-settings-daemon,
> a tool from control-center, is run. Otherwise
> the text is unreadable. Screenshots of the
> program can be seen at
> http://uber.com.br/romildo/misc/testgtkplotcanvas.notext.png
> and at
> http://uber.com.br/romildo/misc/testgtkplotcanvas.text.png
>
> I verified that this happens with IceWM,
> Fvwm and KDE. I checked both Gentoo Linux
> and Fedora Core 4, on an amd64 box, and
> on x86.
>
> I really would like to have this issue
> explained, if anybody knows its explanation.
>
> I do not expect gtk+extra depending on
> gnome. At least it is not mentioned in
> any of the documentation I have read.
>
> I need a ploting library in an application
> I am developing and I was hoping to use
> gtk+extra for that, as I haven't found
> any other suitable plotting library that
> would work on both Windows and Linux.
>
> Regards.
>

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux