Name
pcontext:SetRoundGlyphPositions -- set round glyph positions
Synopsis
pcontext:SetRoundGlyphPositions(round_positions)
Function
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.

Inputs
round_positions
boolean specifying whether to round glyph positions

Show TOC