Skip to content

Fix problems with tabs in text - #3355

Merged
emilk merged 3 commits into
masterfrom
emilk/tab-text-layout
Sep 18, 2023
Merged

emilk merged 3 commits into
masterfrom
emilk/tab-text-layout

Conversation

@emilk

@emilk emilk commented Sep 18, 2023

Copy link
Copy Markdown
Owner

The problem was the ascent was not correct for tab glyphs (nor for thin-space). I fixed it by removing it from GlyphInfo and keeping it in the font itself.

@emilk emilk added bug Something is broken text Problems related to text egui epaint labels Sep 18, 2023
@emilk
emilk merged commit 8073ca6 into master Sep 18, 2023
@emilk
emilk deleted the emilk/tab-text-layout branch September 18, 2023 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something is broken egui epaint text Problems related to text

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Labels with tabs-only text don't allocate space

1 participant