[xiph-commits] r18638 - trunk/planarity
xiphmont at svn.xiph.org
xiphmont at svn.xiph.org
Sun Sep 30 23:41:38 PDT 2012
Author: xiphmont
Date: 2012-09-30 23:41:38 -0700 (Sun, 30 Sep 2012)
New Revision: 18638
Modified:
trunk/planarity/main.c
Log:
Patch to correct:
gplanarity: fcmatch.c:651: IA__FcFontMatch: Assertion `result != ((void *)0)' failed.
Modified: trunk/planarity/main.c
===================================================================
--- trunk/planarity/main.c 2012-09-30 17:44:50 UTC (rev 18637)
+++ trunk/planarity/main.c 2012-10-01 06:41:38 UTC (rev 18638)
@@ -124,6 +124,7 @@
char *fontface;
FcPattern *fc_pattern;
FcBool scalable;
+ FcResult fc_result;
fc_pattern = FcNameParse((unsigned char *)list);
@@ -140,7 +141,7 @@
// fill in missing defaults
FcDefaultSubstitute(fc_pattern);
// find a font face on our list if possible
- fc_pattern = FcFontMatch(0, fc_pattern, 0);
+ fc_pattern = FcFontMatch(0, fc_pattern, &fc_result);
if(!fc_pattern){
fprintf(stderr,_("\nUnable to find any suitable %s fonts!\n"
More information about the commits
mailing list