otLayoutGetSizeParams

fnharfbuzz.types.Bool otLayoutGetSizeParams(harfbuzz.face.Face face, out uint designSize, out uint subfamilyId, out harfbuzz.types.OtNameId subfamilyNameId, out uint rangeStart, out uint rangeEnd)

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.

Parameters

face#hb_face_t to work upon
designSizeThe design size of the face
subfamilyIdThe identifier of the face within the font subfamily
subfamilyNameIdThe ‘name’ table name ID of the face within the font subfamily
rangeStartThe minimum size of the recommended size range for the face
rangeEndThe maximum size of the recommended size range for the face

Returns

true if data found, false otherwise