On 11 Aug 2003, Larry Evans wrote:
> dia-list-request@gnome.org wrote:
>> Today's Topics:
>> 5. Re: Couldn't load font "Sans 10" (Lars Clausen)
>> Message: 5
>> To: dia-list@gnome.org
>> From: Lars Clausen <lrclause@cs.uiuc.edu>
>> Subject: Re: Couldn't load font "Sans 10"
>> Date: Sun, 10 Aug 2003 16:54:58 -0500
>> Reply-To: dia-list@gnome.org
>> On 9 Aug 2003, Larry Evans wrote:
>
> [snip]
>
>>> How do I avoid this error?
>> Sounds like a font-config setup problem to me. How's your
>> /etc/fonts/fonts.conf look (or the equivalent for Mandrake, if it was
>
> This file was faily large, so I've attached it.
>
>> installed from there)? The line you put in .pango.aliases wouldn't help
>> much, try using xfontsel or gtkfontsel to get a font that works.
>>
>
> From gtkfontsel, I selected a fontname. This file is also
> attached. However, I still got:
>
> ---------- cut here --------------
> [evansl@localhost evansl]$ dia
>
> ** (dia:3213): WARNING **: Couldn't load font "Sans 10" falling back
> to "Sans 10"
>
> ** (dia:3213): WARNING **: Couldn't load font "Sans 10" falling back
> to "Sans 10"
>
> ** (dia:3213): WARNING **: All font failbacks failed!!!!
> ---------- cut here --------------
Do you have the fonts installed locally, or do you use a (remote) font
server? If all your fonts are remote, or the directories lists in the font
directory part of fonts.conf don't contain usable fonts (and fonts.dir
entries), Pango can't find fonts.
Can you run other programs using Pango? For instance, PAPS (a postscript
generator example) is a good simple test.
-Lars
--
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| HĂ„rdgrim of Numenor
"I do not agree with a word that you say, but I |----------------------------
will defend to the death your right to say it." | Where are we going, and
--Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbasket?