Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long character and underscore is cut off when font size is set to 12 #1603

Open
budimanjojo opened this issue Sep 29, 2024 · 5 comments · Fixed by #1639
Open

Long character and underscore is cut off when font size is set to 12 #1603

budimanjojo opened this issue Sep 29, 2024 · 5 comments · Fixed by #1639
Labels
bug Something isn't working
Milestone

Comments

@budimanjojo
Copy link

Contour Terminal version

0.4.3

Installer source

something else (please specify below)

Operating System

Ubuntu Linux with Nix

Architecture

x86-64

Other Software

No response

Steps to reproduce

Have profiles.main.font.size set to 12 with UbuntuMono Nerd Font.

Expected Behavior

Should display fine

Actual Behavior

The font is cut off, characters like g, q, p, and _ are displayed incorrectly. Look at the screenshot below.
image

Additional notes

Setting the font to 12.1 fixed this issue. I believe this should also only happen with some fonts (mine being UbuntuMono Nerd Font). This issue doesn't happen with other terminal emulators (tested with Alacritty, Wezterm, Gnome-terminal).

@budimanjojo budimanjojo added the bug Something isn't working label Sep 29, 2024
@Yaraslaut
Copy link
Member

Hi, few font related bugs where fixed in 0.5 release, can you please check this bug in the latest release?

@budimanjojo
Copy link
Author

Okay I'll try to build the latest version with Nix and report back. Thank you!

@budimanjojo
Copy link
Author

Apologize for the delay. I couldn't build contour at all on my 16GB RAM machine, it keeps killing my entire system on 79% with 100% memory usage. So I decided to run the contour-0.5.0.7168-fix.AppImage from the release assets. The bug still persists though. The font is still cut off with 12 font size.

@Yaraslaut
Copy link
Member

Apologize for the delay. I couldn't build contour at all on my 16GB RAM machine, it keeps killing my entire system on 79% with 100% memory usage. So I decided to run the contour-0.5.0.7168-fix.AppImage from the release assets. The bug still persists though. The font is still cut off with 12 font size.

I think at some point gcc was broken, somewhere around gcc 13, with gcc 14 everything is alright, and clang is usually more reliable as well, thanks for trying out, i will try to reproduce it on my system

@jg1uaa
Copy link
Contributor

jg1uaa commented Nov 3, 2024

Hello, I found this issue with VLGothic(family: vlgothic)
vl
and mixedfont-mplus-ipa(family: ipagothic). both fontsize (size) is 10.5.
ipa

Bitmap font from mixedfont-mplus-ipa's IPAGothic looks quite cool for me but only underscore is not displayed. I like VLGothic too but this is hard to use with contour-0.5.0.7168. I hope current version might be fixed this problem.

@Yaraslaut Yaraslaut reopened this Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants