X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Ffont-ft.c;h=ee3f5a203467fc854a5364b73315ed7b1f9a795d;hb=819616dacfef49aad64a7a6f7460ab26c0bfbf2b;hp=828b8bdc8671005cd4057ebc50e1e4a916857608;hpb=e5288e9f202ab953fa13a9a3b4102d1c2ebdab4c;p=m17n%2Fm17n-lib.git diff --git a/src/font-ft.c b/src/font-ft.c index 828b8bd..ee3f5a2 100644 --- a/src/font-ft.c +++ b/src/font-ft.c @@ -69,7 +69,7 @@ typedef struct static MFTtoProp ft_to_prop[] = { { "italic", 0, MFONT_STYLE, "i" }, { "roman", 0, MFONT_STYLE, "r" }, - { "oblique", 0, MFONT_STYLE, "p" }, + { "oblique", 0, MFONT_STYLE, "o" }, { "regular", 0, MFONT_WEIGHT, "medium" }, { "normal", 0, MFONT_WEIGHT, "medium" }, /* We need this entry even if "bold" is in commone_weight[] to @@ -1098,8 +1098,8 @@ fc_decode_prop (int val, FC_vs_M17N_font_prop *table) for (i = 0; table[i].m17n_value; i++) if (val <= table[i].fc_value) - return msymbol ("table[i].m17n_value"); - return msymbol ("table[i - 1].m17n_value"); + return msymbol (table[i].m17n_value); + return msymbol (table[i - 1].m17n_value); } static int