Skip to content

Comments

Fix alignment of cells#423

Open
myaaaaaaaaa wants to merge 2 commits intohomeport:mainfrom
myaaaaaaaaa:alignment
Open

Fix alignment of cells#423
myaaaaaaaaa wants to merge 2 commits intohomeport:mainfrom
myaaaaaaaaa:alignment

Conversation

@myaaaaaaaaa
Copy link

This patch rounds down the floating point glyph sizes into whole numbers, so that cells are always lined up to pixels. The results aren't perfect, but at least any rendering issues should show up consistently now.

The first commit adds just the reproducer, and the second one fixes it. Here is a link to the diff, search for expected-cells.png if it doesn't automatically scroll down for you:
ecf7539#diff-66b015e1bda893fe3715ab4244cd4dc0ccca5b9f6256b8310b2c17bbd3185b00

Before

before

After

after

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant