diff options
| author | Kenny Levinsen <kl@kl.wtf> | 2024-07-11 00:33:19 +0200 |
|---|---|---|
| committer | Alexander Orzechowski <alex@ozal.ski> | 2024-07-10 18:49:42 -0400 |
| commit | 8c5b23e592d2334b3324227dd9d1311e46c5fd69 (patch) | |
| tree | b660ca9f5e6bc83c27265f28b5e7ec6ba5a983c8 /common/stringop.c | |
| parent | 28fd73589df0e73e1d15e165acd90651a5f805d6 (diff) | |
common/pango: Disable glyph position rounding
Pango rounds glyph position and widths to nearest integer, which leads
to font dimensions jumping around when rendering with a scale, causing
text geometry to jump around when changing scale. This is disturbing
when text buffers change scale, and also mean that the text geometry
calculations in sway_text_node are incorrect.
Disable this rounding to make the geometry stable.
Diffstat (limited to 'common/stringop.c')
0 files changed, 0 insertions, 0 deletions
