Skip to content

Comments

Fix character overflow with JetBrainsMono Nerd Font Mono#146

Merged
kdj0c merged 1 commit intoAetf:mainfrom
kdj0c:fix_width_override
Oct 22, 2025
Merged

Fix character overflow with JetBrainsMono Nerd Font Mono#146
kdj0c merged 1 commit intoAetf:mainfrom
kdj0c:fix_width_override

Conversation

@kdj0c
Copy link
Collaborator

@kdj0c kdj0c commented Oct 19, 2025

There are some glitches around detection of characters that can overflow:

  • A rounding error in pango_layout_line_get_pixel_extents()
  • Some characters have an offset, that was not taken into account for the overflow detection.

Fixes 5c2e2b3 Double width overflow support
Fixes #145

There are some glitches around detection of characters that can overflow:
- A rounding error in pango_layout_line_get_pixel_extents()
- Some characters have an offset, that was not taken into account for the overflow detection.

Fixes 5c2e2b3 Double width overflow support
Fixes Aetf#145
Signed-off-by: Jocelyn Falempe <[email protected]>
@kdj0c kdj0c merged commit d7b7066 into Aetf:main Oct 22, 2025
1 check passed
@kdj0c kdj0c deleted the fix_width_override branch December 5, 2025 10:13
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.

Character overflow determined incorrectly in src/font_pango.c by #135

1 participant