Skip to content

Add a workaround for glyph extents

Matthias Clasen requested to merge glyph-extents-malaise into main

When hint-metrics is != off, cairo produces broken glyph extents. To work around this problem, use a copy of the scaled font with hint-metrics forced off for obtaining glyph extents.

See https://gitlab.freedesktop.org/cairo/cairo/-/issues/827

Merge request reports