From d0bf1b2d55f64acfd0719d853a4f7e513248081e Mon Sep 17 00:00:00 2001 From: Koichi KAMICHI Date: Thu, 10 Feb 2005 06:21:39 +0000 Subject: [PATCH] Fixed function. (converion for the '99' stroke) --- kagecgi/kagechar.c | 2 ++ kagecgi/kageeg.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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; } -- 1.7.10.4