otLayoutGetSizeParams

Fetches optical-size feature data (i.e., the size feature from GPOS). Note that the subfamily_id and the subfamily name string (accessible via the subfamily_name_id) as used here are defined as pertaining only to fonts within a font family that differ specifically in their respective size ranges; other ways to differentiate fonts within a subfamily are not covered by the size feature.

For more information on this distinction, see the [size feature documentation]( https://docs.microsoft.com/en-us/typography/opentype/spec/features_pt#tag-size).

Parameters

face harfbuzz.face.Face

#hb_face_t to work upon

designSize uint

The design size of the face

subfamilyId uint

The identifier of the face within the font subfamily

subfamilyNameId harfbuzz.types.OtNameId

The ‘name’ table name ID of the face within the font subfamily

rangeStart uint

The minimum size of the recommended size range for the face

rangeEnd uint

The maximum size of the recommended size range for the face

Return Value

Type: harfbuzz.types.Bool

true if data found, false otherwise