]> git.mdlowis.com Git - proto/labwc.git/commit
Disable pango glyph position rounding
authorJohan Malm <jgm323@gmail.com>
Sun, 14 Jul 2024 07:55:30 +0000 (08:55 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Fri, 19 Jul 2024 21:17:42 +0000 (22:17 +0100)
commitc3ea956837c31492b956cd9ab4b34ec6ac512628
tree1fb518cb6d8e0518d32dda418d8e02f068d2d6b2
parentc20c3991c75f177680f5a77b67f243ffd439a97d
Disable pango glyph position rounding

Chase https://github.com/swaywm/sway/commit/8c5b23e592d2334b3324227dd9d1311e46c5fd69

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.

Disable this rounding to make the geometry stable.
src/common/font.c
src/osd.c
src/workspaces.c