From 89a063d069b4dd3cca2835cc2c5197c5dfcb0adb Mon Sep 17 00:00:00 2001 From: handa Date: Fri, 17 Aug 2007 13:03:37 +0000 Subject: [PATCH] *** empty log message *** --- src/ChangeLog | 17 +++++++++++++++++ src/m17n-flt.c | 6 +++--- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index b5edde0..7f1ef9d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,20 @@ +2007-08-17 Kenichi Handa + + * m17n-flt.h (struct _MFLTGlyphString): Member pointer renamed to + user_data. + (MFLTOtfSpec): Renamed from MFLT_OTF_Spec. + (MFLTFont): Prototype of the member drive_otf adjusted. + + * m17n-flt.c (run_stages): Fix handling of padding. + + * font-ft.c (get_glyph_metric): New function. + (DEVICE_DELTA): Return 26.6 fixed point value. + (adjust_anchor): Likewise. + (mfont__ft_drive_otf): Use get_glyph_metric. + + * font-flt.c (mfont__flt_run): Pay attention to padding on + printing debug info. + 2007-08-16 Kenichi Handa * m17n-flt.c (run_stages): Fix typo. diff --git a/src/m17n-flt.c b/src/m17n-flt.c index 7f16cf3..be14131 100644 --- a/src/m17n-flt.c +++ b/src/m17n-flt.c @@ -432,7 +432,7 @@ typedef struct union { FontLayoutCmdRule rule; FontLayoutCmdCond cond; - MFLT_OTF_Spec otf; + MFLTOtfSpec otf; } body; } FontLayoutCmd; @@ -557,7 +557,7 @@ otf_store_features (char *p, char *end, int count, unsigned *buf) } static int -parse_otf_command (MSymbol symbol, MFLT_OTF_Spec *spec) +parse_otf_command (MSymbol symbol, MFLTOtfSpec *spec) { char *str = MSYMBOL_NAME (symbol); char *end = str + MSYMBOL_NAMELEN (symbol); @@ -1372,7 +1372,7 @@ run_cond (int depth, static int run_otf (int depth, - MFLT_OTF_Spec *otf_spec, int from, int to, FontLayoutContext *ctx) + MFLTOtfSpec *otf_spec, int from, int to, FontLayoutContext *ctx) { #ifdef HAVE_OTF MFLTFont *font = ctx->font; -- 1.7.10.4