setRoundGlyphPositions

open fun setRoundGlyphPositions(roundPositions: Boolean)

Sets whether font rendering with this context should round glyph positions and widths to integral positions, in device units.

This is useful when the renderer can't handle subpixel positioning of glyphs.

The default value is to round glyph positions, to remain compatible with previous Pango behavior.

Since

1.44

Parameters

roundPositions

whether to round glyph positions