Pass the buck; make fontconfig not crash on pango badness.

This commit is contained in:
Patrick Lam 2006-02-21 15:56:41 +00:00
parent 9fb0e0743e
commit 656b47f698
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-02-21 Diego Petten <flameeyes@gentoo.org>
* src/fcfreetype.c (FcFreeTypeCharIndex):
Pass the buck; make fontconfig not crash on pango badness.
2006-02-21 Patrick Lam <plam@mit.edu> 2006-02-21 Patrick Lam <plam@mit.edu>
* conf.d/10-fonts-persian.conf: * conf.d/10-fonts-persian.conf:

View File

@ -2312,6 +2312,10 @@ FcFreeTypeCharIndex (FT_Face face, FcChar32 ucs4)
int p; int p;
initial = 0; initial = 0;
if (!face)
return 0;
/* /*
* Find the current encoding * Find the current encoding
*/ */