Skip to content

cairo: Don't mis-scale metrics

Matthias Clasen requested to merge fix-underline-scale into main

When metrics were ported to hb, we overlooked that the scaling done by cairo on the base metrics is no longer necessary. This was causing underlines and strikethroughs to be too small when rendering in a scaled context.

Thanks to Behdad for help in tracking this down.

Fixes: #730 (closed)

Merge request reports