Package: pango
Function pango:context-metrics
Lambda Listpango:context-metrics (context desc language) ArgumentsReturn ValueThe pango:font-metrics instance. Details
Get overall metric information for a particular font description.
Since the metrics may be substantially different for different scripts, a
language tag can be provided to indicate that the metrics should be retrieved
that correspond to the script(s) used by that language. The pango:font-description instance is interpreted in the same way as by the pango:itemize function, and the family name may be a comma separated list of figures. If characters from multiple of these families would be used to render the string, then the returned fonts would be a composite of the metrics for the fonts loaded for the individual families. | See also |
2024-2-23