Fixed a bug: use parts(fromDB) with resizing to max.
authorKoichi KAMICHI <kamichi@fonts.jp>
Fri, 12 Mar 2004 11:23:52 +0000 (11:23 +0000)
committerKoichi KAMICHI <kamichi@fonts.jp>
Fri, 12 Mar 2004 11:23:52 +0000 (11:23 +0000)
kagecgi/kageeg.c

index 6389bbe..1c53efe 100755 (executable)
@@ -109,8 +109,9 @@ void generateGlyph(const GString *in, GString *out){
        //search from parts(2nd)\r
        searchPartsData(in, tmp);\r
        if(tmp->len != 0){\r
-               g_string_assign(out, tmp->str);\r
-               return;\r
+         tmp = CalcSizes(tmp, 1);\r
+         g_string_assign(out, tmp->str);\r
+         return;\r
        }\r
        \r
        //search from alias(2nd)\r