PgContext.setRoundGlyphPositions

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.

class PgContext
void
setRoundGlyphPositions

Parameters

roundPositions bool

whether to round glyph positions

Meta

Since

1.44