(mfont__lookup_fontset): Don't ignore family and
authorhanda <handa>
Thu, 6 Jul 2006 05:33:14 +0000 (05:33 +0000)
committerhanda <handa>
Thu, 6 Jul 2006 05:33:14 +0000 (05:33 +0000)
foundry of face.

src/fontset.c

index 119a459..b567861 100644 (file)
@@ -749,10 +749,8 @@ mfont__lookup_fontset (MRealizedFontset *realized, MGlyph *g, int *num,
       MFont request = realized->request;
 
       if (script != Mlatin)
-       /* These are not appropriate for non-Latin scripts.  */
-       request.property[MFONT_FOUNDRY]
-         = request.property[MFONT_FAMILY]
-         = request.property[MFONT_REGISTRY] = 0;
+       /* This is not appropriate for non-Latin scripts.  */
+       request.property[MFONT_REGISTRY] = 0;
 
       per_script = mplist_get (realized->per_script, script);
       if (! per_script)