Package: pango
Function pango-gravity-for-script-and-width
Lambda Listpango-gravity-for-script-and-width (script wide base-gravity hint) ArgumentsReturn ValueDetails
Based on the script, East Asian width, base gravity, and hint, returns
actual gravity to use in laying out a single character or PangoItem. This function is similar to the function pango-gravity-for-script except that this function makes a distinction between narrow/half-width and wide/full-width characters also. Wide/full-width characters always stand upright, that is, they always take the base gravity, whereas narrow/full-width characters are always rotated in vertical context. If base-gravity is :auto, it is first replaced with the preferred gravity of script. | See also |
2021-1-5