RE: [gtkextra] No text is drawn

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

 



> -----Original Message-----
> From: scigraphica-gtkextra-admin@xxxxxxxxxxxxxxxxxxxxx
> [mailto:scigraphica-gtkextra-admin@xxxxxxxxxxxxxxxxxxxxx]On Behalf Of
> romildo@xxxxxxxxxxx
> Sent: Wednesday, August 03, 2005 9:03 AM
> To: scigraphica-gtkextra@xxxxxxxxxxxxxxxxxxxxx; gtk-list@xxxxxxxxx
> Subject: Re: [gtkextra] No text is drawn
>
>
> 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?
>
>

THanks for the info, I'll try this today.

I also don't undestand why gtkextra only exibits the problem when using the
pango library and not when using the pre-pango font functions (gdk_font,
etc.).

> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Scigraphica-gtkextra mailing list
> Scigraphica-gtkextra@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/scigraphica-gtkextra

_______________________________________________

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