Skip to content

Improve formatting of font sizes

Matthias Clasen requested to merge font-size-formatting into main

When serializing font descriptions, format the font size only to the number of decimals needed to reconstruct the same Pango units.

Code inspired by similar facilities in fonttools.

Edited by Matthias Clasen

Merge request reports