Re: fonts for pango



On Mon, 19 Mar 2001, Cristian Prevedello wrote:

> Thank you for your valuable help, i could go move another step forward
> gtk framebuffer, but another odd thing happens :)
>
> if i run a gtk example i get the following message:
>
> Gdk-ERROR **: file gdkfont-fb.c: line 148 (gdk_font_from_description):
> assertion failed: ((font->ascent > 0) || (font->descent > 0))
>
> The odd thing is it works if i run the example under strace :). Of course in
> this case i get no font.

This is all very strange. What happens if you uncomment the
  g_assert ((font->ascent > 0) || (font->descent > 0));
line ath gdkfont-fb.c line 148?

> Anyway, isn't available a font HOWTO?

There is some small text in docs/README.linux-fb, but that is all.

/ Alex






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