You are not logged in.

#1 2014-01-01 21:24:14

filippo
Member
Registered: 2010-12-04
Posts: 22

Ugly font rendering on proprietary software and GTK/Pango

Hi everyone,

The Klei Updater (used by the game Don't Starve) doesn't display font correctly : I only have squares...

I have the following error in the console :
(updater:28664): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='latin'
(updater:28664): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common'

I tried to install various font and the command pango-querymodules > '/etc/pango/pango.modules' but I still have the error...

Is there a way I can force the software to use another font ?

Thanks ! :-)

Offline

#2 2014-01-03 16:45:59

filippo
Member
Registered: 2010-12-04
Posts: 22

Re: Ugly font rendering on proprietary software and GTK/Pango

I try to force it using a rc file :

style "Sans"
{
  font_name = "Heuristica 10"
}
widget_class "*" style "Sans"
gtk-font-name = "Heuristica 10"

And launching the game with : GTK2_RC_FILES=custom.gtkrc ./dontstarve.sh

But it doesn't change anything.

If I make on error on line 5, like :

widget_class "*" style "Sansssssssssssssssssss"

I get an error, so the file is really used...

Last edited by filippo (2014-01-03 16:46:17)

Offline

Board footer

Powered by FluxBB