From: Koichi KAMICHI Date: Thu, 10 Feb 2005 06:21:39 +0000 (+0000) Subject: Fixed function. (converion for the '99' stroke) X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=d0bf1b2d55f64acfd0719d853a4f7e513248081e;p=chise%2Fkage.git Fixed function. (converion for the '99' stroke) --- diff --git a/kagecgi/kagechar.c b/kagecgi/kagechar.c index 6d8a2eb..737d010 100755 --- a/kagecgi/kagechar.c +++ b/kagecgi/kagechar.c @@ -384,6 +384,8 @@ void convert99calc(const char *in, KGString *out){ //*end = '\0'; buf1 = kg_string_new(pname); generateGlyph(buf1, buf2); + //calc_sizes for using IDS as pname + buf2 = CalcSizes(buf2, 1); if(buf2->len == 0) return; //convert diff --git a/kagecgi/kageeg.c b/kagecgi/kageeg.c index 810f723..52944a0 100755 --- a/kagecgi/kageeg.c +++ b/kagecgi/kageeg.c @@ -48,7 +48,7 @@ void generateGlyph(const KGString *in, KGString *out){ //search from parts searchPartsData(in, tmp); if(tmp->len != 0){ - tmp = CalcSizes(tmp, 1); + tmp = CalcSizes(tmp, 1);// this line may not be needed out = kg_string_assign(out, tmp->str); return; }