create_cached2


Description:

[ Version ( since = "1.4.0" ) ]
public static ShapePlan create_cached2 (Face face, SegmentProperties props, Feature[] user_features, int[] coords, string[] shaper_list)

The variable-font version of create_cached.

Creates a cached shaping plan suitable for reuse, for a combination of face, user_features, props , and shaper_list, plus the variation-space coordinates coords.

Parameters:

face

Face to use

props

The SegmentProperties of the segment

user_features

The list of user-selected features

coords

The list of variation-space coordinates

shaper_list

List of shapers to try

num_coords

The number of variation-space coordinates

num_user_features

The number of user-selected features

Returns:

The shaping plan