+2007-08-17 Kenichi Handa <handa@m17n.org>
+
+ * 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 <handa@m17n.org>
* m17n-flt.c (run_stages): Fix typo.
union {
FontLayoutCmdRule rule;
FontLayoutCmdCond cond;
- MFLT_OTF_Spec otf;
+ MFLTOtfSpec otf;
} body;
} FontLayoutCmd;
}
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);
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;