Florian Kulzer wrote:
> On Mon, Dec 31, 2007 at 02:31:47 -0800, Towncat wrote:
>
> [...]
>
> > OK, now iceweasel runs, but I realised that there is more to it,
> > something to do with fonts and pango. When I start non-kde
> > applications under kde, I get little squares instead of fonts.
> >
> > The output is like this (for xsane, here):
> >
> > xsane:9842): Pango-WARNING **: failed to create cairo scaled font,
> > expect ugly output. the offending font is 'DejaVu Sans 10'
> >
> > (xsane:9842): Pango-WARNING **: failed to create cairo scaled font,
> > expect ugly output. the offending font is 'DejaVu Sans 12.5'
> >
> > (xsane:9842): Pango-WARNING **: shaping failure, expect ugly output.
> > shape-engine='BasicEngineFc', font='DejaVu Sans 12.5', text='French
> > (Fran´┐Żais)'
> >
> > (xsane:9842): Pango-WARNING **: pango_font_get_glyph_extents called
> > with null font argument, expect ugly output
> >
> > (xsane:9842): Pango-WARNING **: shaping failure, expect ugly output.
> > shape-engine='BasicEngineFc', font='DejaVu Sans 10', text='XSane
> > v´┐Żltozat: 0.995'
> >
> >
> > Ideas, anyone?
>
> Try to run (as root) "fc-cache -fs" followed by "update-pangox-aliases".
> Do you get error messages? Does this improve the situation?
>
> If the above does not help, post the output of these three commands:
>
> ls -l /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
>
> dpkg -l lib{pango,cairo}\* | awk '/^[^D|+]/{print $1,$2,$3}'
>
> awk '/^Name:.*pango/,/^$/' /var/cache/debconf/config.dat
>
> --
> Regards,            | http://users.icfo.es/Florian.Kulzer
>           Florian   |

Based on the outputs I did a

 dpkg-reconfigure libcairo2 libpango1.0-common

and an

fc-cache -fs
update-pangox-aliases

which seems to have helped.

Reply via email to