shapePlanCreateCached

fnharfbuzz.shape_plan.ShapePlan shapePlanCreateCached(harfbuzz.face.Face face, harfbuzz.segment_properties.SegmentProperties props, harfbuzz.feature.Feature[] userFeatures, string[] shaperList) nothrow

Creates a cached shaping plan suitable for reuse, for a combination of face, user_features, props, and shaper_list.

Parameters

face#hb_face_t to use
propsThe #hb_segment_properties_t of the segment
userFeaturesThe list of user-selected features
shaperListList of shapers to try

Returns

The shaping plan