After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 686567 - Overlapping characters in gnome-terminal in Hebrew locale
Overlapping characters in gnome-terminal in Hebrew locale
Status: RESOLVED OBSOLETE
Product: vte
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-10-21 09:10 UTC by Amir E. Aharoni
Modified: 2021-06-10 14:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot with overlapping character in Hebrew (11.74 KB, image/png)
2012-10-21 09:10 UTC, Amir E. Aharoni
Details
Correct display when the locale is English (11.95 KB, image/png)
2012-10-21 09:10 UTC, Amir E. Aharoni
Details
How it displays with GNU FreeMono (11.38 KB, image/png)
2012-10-21 18:43 UTC, Amir E. Aharoni
Details

Description Amir E. Aharoni 2012-10-21 09:10:35 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
Comment 1 Amir E. Aharoni 2012-10-21 09:10:58 UTC
Created attachment 226917 [details]
Correct display when the locale is English
Comment 2 Christian Persch 2012-10-21 11:17:18 UTC
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?
Comment 3 Amir E. Aharoni 2012-10-21 11:20:19 UTC
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?
Comment 4 Christian Persch 2012-10-21 11:31:01 UTC
Use "fc-match -s Monospace" to list which fonts comprise the Monospace alias.
Comment 5 Amir E. Aharoni 2012-10-21 11:33:26 UTC
(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"
Comment 6 Christian Persch 2012-10-21 11:38:56 UTC
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.
Comment 7 Amir E. Aharoni 2012-10-21 11:52:48 UTC
Using the same command I can reproduce it.

Do you have the Hebrew language packs installed?
Comment 8 Christian Persch 2012-10-21 12:09:55 UTC
Yes.
Comment 9 Amir E. Aharoni 2012-10-21 16:17:56 UTC
Are you doing this on a clean install?

Do you have the GNU Free fonts installed? (package gnu-free-mono-fonts)?
Comment 10 Christian Persch 2012-10-21 16:39:29 UTC
If you think it's that font package, try uninstalling it to see if that fixes it.
Comment 11 Behdad Esfahbod 2012-10-21 16:49:16 UTC
What's the output of: "fc-match monospace:lang=he" ?
Comment 12 Amir E. Aharoni 2012-10-21 16:58:36 UTC
(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?
Comment 13 Amir E. Aharoni 2012-10-21 17:07:42 UTC
(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 :)
Comment 14 Amir E. Aharoni 2012-10-21 18:43:12 UTC
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.
Comment 15 GNOME Infrastructure Team 2021-06-10 14:39:30 UTC
-- 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.