(FontLayoutCategory): New typedef.
authorhanda <handa>
Mon, 5 Oct 2009 10:56:48 +0000 (10:56 +0000)
committerhanda <handa>
Mon, 5 Oct 2009 10:56:48 +0000 (10:56 +0000)
commit584ea8413de181015aca64d1bd729ab99410c16c
treed651e76cbf3556bb60bb7466493ebb4ea7dd14df
parent366977cfdda23c32090067188b697c2df83cecf9
(FontLayoutCategory): New typedef.
(FontLayoutStage): Type of the member `category' changed.
(struct _MFLT): Type of the member `coverage' changed.  New member
need_config and font_id.
(apply_otf_feature): New function.
(load_category_table): New arg FONT.  If FONT is non-NULL, call
apply_otf_feature.  Setup category->definition.
(ref_category_table): New macro.
(unref_category_table): New function.
(load_flt): Adjusted for the type change of category.
(free_flt_stage): New arg FLT.
(list_flt): Adjusted for the type change of category.
(run_stages): Adjusted for the type change of category.
(configure_category, configure_flt): New function.
(m17n_init_flt): Initialize mflt_iterate_otf_feature and
mflt_font_id to NULL.
(mflt_get): Skip the heading configured FLTs.
(mflt_find): Likewise.  If necessary, configure the found flt.
(mflt_run): Handle mflt_iterate_otf_feature and mflt_font_id.
Adjusted for the type change of category.
(mflt_iterate_otf_feature, mflt_font_id): New variable.
src/m17n-flt.c