changeset 95745:bea43f586395

(ftfont_pattern_entity): Adjusted for the change of font_intern_prop.
author Kenichi Handa <handa@m17n.org>
date Tue, 10 Jun 2008 02:07:53 +0000
parents abc12b93e2dd
children b490fda95b13
files src/ftfont.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ftfont.c	Tue Jun 10 02:07:06 2008 +0000
+++ b/src/ftfont.c	Tue Jun 10 02:07:53 2008 +0000
@@ -148,9 +148,9 @@
   ASET (entity, FONT_REGISTRY_INDEX, registry);
 
   if (FcPatternGetString (p, FC_FOUNDRY, 0, (FcChar8 **) &str) == FcResultMatch)
-    ASET (entity, FONT_FOUNDRY_INDEX, font_intern_prop (str, strlen (str)));
+    ASET (entity, FONT_FOUNDRY_INDEX, font_intern_prop (str, strlen (str), 1));
   if (FcPatternGetString (p, FC_FAMILY, 0, (FcChar8 **) &str) == FcResultMatch)
-    ASET (entity, FONT_FAMILY_INDEX, font_intern_prop (str, strlen (str)));
+    ASET (entity, FONT_FAMILY_INDEX, font_intern_prop (str, strlen (str), 1));
   if (FcPatternGetInteger (p, FC_WEIGHT, 0, &numeric) == FcResultMatch)
     {
       if (numeric >= FC_WEIGHT_REGULAR && numeric < FC_WEIGHT_MEDIUM)