GNOME Bugzilla – Bug 686567
Overlapping characters in gnome-terminal in Hebrew locale
Last modified: 2021-06-10 14:39:30 UTC
Created attachment 226916 [details] screenshot with overlapping character in Hebrew Description of problem: Overlapping characters appear in the terminal if the GNOME locale is Hebrew. It doesn't happen in English. Version-Release number of selected component (if applicable): Fedora 17, gnome-terminal 3.4.1.1 How reproducible: Always. Steps to Reproduce: 1. Install Fedora 17 with GNOME. 2. Switch the user interface to Hebrew. 3. Open gnome-terminal. Actual results: The @ character is not supposed to overlap with the adjacent letters. Expected results: The @ character overlaps with the adjacent letters. Additional info: See screenshot. Reported in Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=868572
Created attachment 226917 [details] Correct display when the locale is English
That @ is much wider than the other characters... which font is this? Is it really a monospace font with the @ glyph, or is the @ substituted from another font?
That's what I suspect, but I don't know how to find out exactly. It's a clean install and I didn't change any settings. When I click Edit->Profile preferences, "Use the system fixed width font" is checked, and the font in the dropdown is Monospace 12. Is there anything else I can send?
Use "fc-match -s Monospace" to list which fonts comprise the Monospace alias.
(In reply to comment #4) > Use "fc-match -s Monospace" to list which fonts comprise the Monospace alias. OK, is this helpful? - [amire80@theodor ~]$ fc-match -s Monospace DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" DejaVuSansMono-Bold.ttf: "DejaVu Sans Mono" "Bold" n022003l.pfb: "Nimbus Mono L" "Regular" VL-Gothic-Regular.ttf: "VL Gothic" "regular" Lohit-Bengali.ttf: "Lohit Bengali" "Regular" Lohit-Gujarati.ttf: "Lohit Gujarati" "Regular" Lohit-Punjabi.ttf: "Lohit Punjabi" "Regular" Lohit-Tamil.ttf: "Lohit Tamil" "Regular" Meera.ttf: "Meera" "Regular" Lohit-Kannada.ttf: "Lohit Kannada" "Regular" Lohit-Telugu.ttf: "Lohit Telugu" "Regular" Lohit-Oriya.ttf: "Lohit Oriya" "Regular" lklug.ttf: "LKLUG" "Regular" UKIJTuz.ttf: "UKIJ Tuz" "Regular" NafeesWeb.ttf: "Nafees Web Naskh" "Regular" PakType_Naqsh.ttf: "PakType Naqsh" "Regular" Padauk.ttf: "Padauk" "Regular" wqy-zenhei.ttc: "文泉驛正黑" "Regular" wqy-zenhei.ttc: "文泉驛等寬正黑" "Regular" NanumGothic.ttf: "NanumGothic" "Regular" KhmerOS.ttf: "Khmer OS" "Regular" Lohit-Devanagari.ttf: "Lohit Devanagari" "Regular" DejaVuSans.ttf: "DejaVu Sans" "Book" DejaVuSerif.ttf: "DejaVu Serif" "Book" PTS55F.ttf: "PT Sans" "Regular" AbyssinicaSIL-R.ttf: "Abyssinica SIL" "Regular" STIXGeneral.otf: "STIXGeneral" "Regular" Waree.ttf: "Waree" "Book" Jomolhari-alpha3c-0605331.ttf: "Jomolhari" "Regular" uming.ttc: "AR PL UMing CN" "Light" uming.ttc: "AR PL UMing HK" "Light" uming.ttc: "AR PL UMing TW MBE" "Light" DejaVuSerif-Bold.ttf: "DejaVu Serif" "Bold"
Hmm not really, no. So it should be DejaVu Sans Mono, which should be ok... and running "LANG=he_IL.UTF-8 gnome-terminal --disable-factory" I can't reproduce the problem here on F17, nor with vte 0.34.
Using the same command I can reproduce it. Do you have the Hebrew language packs installed?
Yes.
Are you doing this on a clean install? Do you have the GNU Free fonts installed? (package gnu-free-mono-fonts)?
If you think it's that font package, try uninstalling it to see if that fixes it.
What's the output of: "fc-match monospace:lang=he" ?
(In reply to comment #10) > If you think it's that font package, try uninstalling it to see if that fixes > it. Contrariwise: Installing that package essentially fixes the problem. It's not installed in Fedora by default. Fedora 17 doesn't seem to have any monospace Hebrew font installed by default. My guess is that gnome-terminal tries to load a monospace font for the current locale, but doesn't find one and shows a fallback font instead, and even though the fallback is not monospaced, it forces it to be monospaced. Maybe gnome-terminal should try finding a fallback font that actually is monospace?
(In reply to comment #11) > What's the output of: "fc-match monospace:lang=he" ? DejaVuSans.ttf: "DejaVu Sans" "Book" That's after I uninstalled GNU Freefonts. When all GNU Freefonts are installed, then it's: FreeMono.ttf: "FreeMono" "нормален" (The word in brackets is Russian or Bulgarian, and it means "Normal" or "Regular". I wonder why not English :)
Created attachment 226940 [details] How it displays with GNU FreeMono This is my screen after installing the FreeMono font. Note that the digits (80), the '@' sign and the '$' sign are in a different font. It's usable, but I don't quite understand why should it be different.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vte/-/issues/1975.