Re: [gtkextra] No text is drawn

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

 



On Wed, Aug 03, 2005 at 02:49:28PM +0200, Christoph Finke wrote:
> I had the same Problem,
> its a bug in gtkextra/gtkfontps.c (or perhaps deeper in the pango-library)
> 
> Line 467
>  if (!g_object_class_find_property(klass, "gtk-xft-dpi")) {
>    dpi = 96.;
>  } else {
>    /* Read the settings. */
>    gint int_dpi;
>    g_object_get(G_OBJECT(settings),
>             "gtk-xft-dpi", &int_dpi,
>         NULL);
>    dpi = int_dpi / PANGO_SCALE;
>  }
> 
> g_object_get returns 0.
> 
> I have put the following line in ~/.gtkrc-2.0 (outside of  any style block):
> gtk-xft-dpi=100000
> which solved the Problem.

That trick works for me too, thanks.

Are the authors of gtk+extra and pango aware of
the bug?

Romildo
 
> ----- Original Message ----- 
> From: <romildo@xxxxxxxxxxx>
[...]
> >I still does not understand why those test programs
> >from gtk+extra do use such a very small font size.
> >What else can I do to get it right?
_______________________________________________

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