Commit d489f1dd authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

dwrite: Pass features to stage functions.

parent c8e663d6
......@@ -564,7 +564,10 @@ struct shaping_feature
#define MAX_SHAPING_STAGE 16
typedef void (*stage_func)(struct scriptshaping_context *context);
struct shaping_features;
typedef void (*stage_func)(struct scriptshaping_context *context,
const struct shaping_features *features);
struct shaping_stage
{
......
......@@ -6070,7 +6070,7 @@ void opentype_layout_apply_gsub_features(struct scriptshaping_context *context,
}
if (features->stages[j].func)
features->stages[j].func(context);
features->stages[j].func(context, features);
}
/* For every glyph range of [<last>.isClusterStart, <next>.isClusterStart) set corresponding
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment