Mario Ivankovits <[EMAIL PROTECTED]> wrote:
> Now, that I still got this exception I tried to track it down using
> gdb: I've come to cFont::GetFontFilename where FcFontSort returns
> "null".
i had the same, but on my system i simply had no fonts installed at all.
> I simple check (if fontset != null) fixed the segfault:
>
> FcFontSet *fontset = FcFontSort(NULL, pat, FcFalse, NULL, NULL);
> if (fontset != NULL)
> {
> // ...
> }
an "else" would be nice here so the user gets at least some hint
what's the problem:
} else {
esyslog(ERROR: no usable fonts found.);
}
best regards ...
clemens
_______________________________________________
vdr mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr