Skip to content

gsk: Use a scaled font for glyph rendering

Matthias Clasen requested to merge scaled-font into main

This changes the approach we take to rendering glyphs in the presence of a scale transform: Instead of scaling the extents and rendering to an image surface with device scale, simply create a scaled font and use it for extents and rendering.

This avoids clipping problems with scaling of extents in the presence of hinting.

Merge request reports