From: handa Date: Thu, 22 Sep 2005 07:25:58 +0000 (+0000) Subject: (xlfd_unparse_name): Print '*' before registry name. X-Git-Tag: REL-1-3-0~151 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=9c0818b97a26f03376e92f90a02d2eb36299945b;p=m17n%2Fm17n-lib.git (xlfd_unparse_name): Print '*' before registry name. --- diff --git a/src/font.c b/src/font.c index 358b750..2bff416 100644 --- a/src/font.c +++ b/src/font.c @@ -898,11 +898,11 @@ xlfd_unparse_name (MFont *font, int full_xlfd) if (p[-1] != '*' || font->size > 0) { if (font->size > 0) - p += sprintf (p, "-%d", size); + p += sprintf (p, "-%d-*", size); else p += sprintf (p, "-*"); } - if (p[-1] != '*' || str[6][0] != '*') + if (str[6][0] != '*') sprintf (p, "-%s", str[6]); }