Package: pango
Function pango:gravity-for-script
Lambda Listpango:gravity-for-script (script gravity hint) ArgumentsReturn Value Resolved pango:gravity value suitable to use for a run of text with script. Details
Based on the script, base gravity, and hint, returns actual gravity to use in laying out a single pango:item instance. If the gravity argument is :auto, it is first replaced with the preferred gravity of script. To get the preferred gravity of a script, pass the :auto and :strong values in. | See also |
2024-2-22