Bug 54176 (suse39176) - better default font for gnome terminal
Summary: better default font for gnome terminal
Status: RESOLVED FIXED
: 152490 (view as bug list)
Alias: suse39176
Product: SUSE Linux 10.1
Classification: openSUSE
Component: GNOME (show other bugs)
Version: Beta 4
Hardware: All Linux
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: Federico Mena Quintero
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-20 17:41 UTC by Karl Eichwalder
Modified: 2006-02-23 11:48 UTC (History)
2 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Patch for libgnome which uses Bitstream Vera Sans 10 as the default monospace font for terminals (557 bytes, patch)
2005-03-04 03:17 UTC, Federico Mena Quintero
Details | Diff
libgnome-default-monospace-font.diff (936 bytes, patch)
2006-02-22 12:46 UTC, Mike Fabian
Details | Diff
gnome-terminal-greek-dejavu.png (7.33 KB, image/png)
2006-02-22 12:54 UTC, Mike Fabian
Details
gnome-terminal-greek-cumberland.png (9.91 KB, image/png)
2006-02-22 12:58 UTC, Mike Fabian
Details
xterm in the bg; gnome-terminal in fg (98.04 KB, image/png)
2006-02-22 17:34 UTC, Karl Eichwalder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Eichwalder 2004-04-20 17:41:06 UTC
the GNOME terminal default font is rather weak; starting yast (ncurses) inside
of it hurts your eyes.  it looks like courier (very thin and l/1 hard to
distinguish).

I vote to go for "ETL fixed".
Comment 1 Karl Eichwalder 2004-04-20 17:41:06 UTC
<!-- SBZ_reproduce  -->
.
Comment 2 Holger Hetterich 2004-04-20 18:53:28 UTC
Yes, ETL fixed looks much better. Can we assume that ETL fixed will stay in
future products and is available on all products?
Comment 3 Karl Eichwalder 2004-09-13 14:09:23 UTC
For sure, I don't know - I guess, it will stay.
Comment 4 Karl Eichwalder 2005-02-17 15:44:30 UTC
It's still an issue on 9.3-preview4
Comment 5 Jody Goldberg 2005-02-17 23:49:22 UTC
This was reported and patched in stream.  I'll patch today along with some
patches from what will become 1.4.3

http://bugzilla.gnome.org/show_bug.cgi?id=161404
Comment 6 Jody Goldberg 2005-02-17 23:49:47 UTC
blarg, wrong bug.
Comment 7 Karl Eichwalder 2005-02-18 17:32:51 UTC
Thanks - you meant bug 65960 ;)

AFAIK, Monday will the last day when we are allowed to do version updates for SL
9.3 (FYI).
Comment 8 Federico Mena Quintero 2005-03-03 03:19:31 UTC
Assigning to myself.  I'll be updating our VTE package.

Gnome-terminal uses the system's monospace font by default, that is, the one you
configured in the control center's gnome-font-properties.  I think this simply
comes from fontconfig's default matching for "monospace", which is Andale Mono.
 Gnome stores the font in the "/desktop/gnome/interface/monospace_font_name"
GConf key.
Comment 9 Federico Mena Quintero 2005-03-04 00:58:09 UTC
... the default for that GConf key lives in libgnome.

What font do we want to use?  Bitstream Vera Sans Mono works very nicely for me.

I don't think changing the default matching in fontconfig is a good idea.  Let's
just change it in Gnome for now.
Comment 10 Federico Mena Quintero 2005-03-04 03:17:52 UTC
Created attachment 30217 [details]
Patch for libgnome which uses Bitstream Vera Sans 10 as the default monospace font for terminals
Comment 11 Gary Ekker 2005-03-04 04:01:04 UTC
Submitted to autobuild.
Comment 12 Federico Mena Quintero 2005-03-04 16:36:06 UTC
Thanks heaps, Gary :)
Comment 13 Karl Eichwalder 2005-03-11 11:00:45 UTC
Thanks for looking into this problem.  Unfortunately, even with "Bitstream Vera
Sans Mono 10" (=System Terminal Font), it is not possible to run YaST (ncurses)
inside the Gnome terminal.  With "ETL Fixed 12" contrasts are a little bit better.

I leave it to QA to check this issue.
Comment 14 Mike Fabian 2006-02-22 12:14:34 UTC
Reopen because of bug #152490.
Comment 15 Mike Fabian 2006-02-22 12:24:39 UTC
*** Bug 152490 has been marked as a duplicate of this bug. ***
Comment 16 Mike Fabian 2006-02-22 12:28:47 UTC
Using "Bitstream Vera Sans Mono" as the default terminal font
in Gnome causes a problem for Greek (and for Russian and some other
languages as well).

"Bitstream Vera Sans Mono" does contain neither Greek nor Cyrillic glyphs,
therefore gnome-terminal has to look for fallback fonts for these languages.
The fallback fonts it comes up with don't fit in style with
"Bitstream Vera Sans Mono" at all, the combination looks very ugly.
(See the screen shot in bug #152490).


Comment 17 Mike Fabian 2006-02-22 12:46:37 UTC
Created attachment 69764 [details]
libgnome-default-monospace-font.diff

Changed patch to use "DejaVu Sans Mono" as the default monospace
font.
Comment 18 Mike Fabian 2006-02-22 12:54:53 UTC
Created attachment 69768 [details]
gnome-terminal-greek-dejavu.png

Screen shot of gnome-terminal using "DejaVu Sans Mono".  The Greek
glyphs are not perfect (the ? looks a bit ugly) but at least they fit
in style to the Latin glyphs.
Comment 19 Mike Fabian 2006-02-22 12:58:26 UTC
Created attachment 69769 [details]
gnome-terminal-greek-cumberland.png

Screen shot of gnome-terminal using "Cumberland AMT".

Looks even better for Greek than "DejaVu Sans Mono".
Comment 20 Mike Fabian 2006-02-22 13:01:05 UTC
As the screen shots from comments #18 and #19 demonstrate,
one usually gets best results for the current language when
using the "monospace" alias.

Therefore I think not patching the default at all and using
the upstream default "monospace" is best.

But apparently Karl didn't like Cumberland AMT.
Comment 21 Federico Mena Quintero 2006-02-22 15:34:59 UTC
Let's not try to make everyone happy; just switch the default back to using Monospace.  If that gives a reasonably good experience out of the box to both latin and greek users, I'm fine with it.  Feel free to commit that patch.
Comment 22 Karl Eichwalder 2006-02-22 16:02:40 UTC
yes, this b/w examples are okay.  Users interested in ncurses applications can switch to xterm.
Comment 23 Federico Mena Quintero 2006-02-22 16:21:35 UTC
(In reply to comment #22)
> yes, this b/w examples are okay.  Users interested in ncurses applications can
> switch to xterm.

What's the problem with ncurses apps in gnome-terminal?  MC works fine for me, for instance.
Comment 24 Karl Eichwalder 2006-02-22 17:29:17 UTC
Then yast must switch the the color scheme MC is using.  Otherwise it's mostly unreadable.  I attach a screen shot.
Comment 25 Karl Eichwalder 2006-02-22 17:34:29 UTC
Created attachment 69839 [details]
xterm in the bg; gnome-terminal in fg
Comment 26 Karl Eichwalder 2006-02-22 17:35:32 UTC
ok, on my TFT it is readable, but on my CRT connected to a test system you have a hard time.
Comment 27 Federico Mena Quintero 2006-02-22 19:45:48 UTC
(In reply to comment #24)
> Then yast must switch the the color scheme MC is using.  Otherwise it's mostly
> unreadable.  I attach a screen shot.

Ah.  The problem you have there is not the font, but the color set.

Go to gnome-terminal's Edit/Current Profile/Colors.  If you have "Linux Console" selected for the "built-in schemes", click on the top-right color button (the one for gray), and make it bright white.  See if that improves things.
Comment 28 Karl Eichwalder 2006-02-23 08:59:31 UTC
I'd say this Courier like font is simply too light - perhaps a personal ideosyncrasy.  I like "Cumberland AMT" more "DejaVu Sans Mono" (Courier like).
Comment 29 Mike Fabian 2006-02-23 10:42:35 UTC
These courier like fonts are not really lighter than the ETL bitmap fonts.
I think this is a problem with antialiasing fonts on dark backgrounds.
Comment 30 Mike Fabian 2006-02-23 11:16:22 UTC
No, sorry, it is not the anti-aliasing, it is really something with the colour palette.
The glyphs in Karl's screen shot of gnome-terminal are gray, not white.
In the xterm at the top left in Karl's screen shot the glyphs are white.
That makes the difference in readability.
Comment 31 Mike Fabian 2006-02-23 11:21:15 UTC
Federicos comment #27 is right, making the top-right color bright white
really improves readability.
Comment 32 Mike Fabian 2006-02-23 11:48:13 UTC
Submitted to STABLE. Closing as FIXED.

(the problem with the colour palette is something different).

-------------------------------------------------------------------
Thu Feb 23 12:28:46 CET 2006 - mfabian@suse.de

- Bugzilla #54176: remove libgnome-default-monospace-font.diff,
  the upstream default "monospace" guarantees an acceptable
  result for the language set in the locale environment. 
  Using "Bitstream Vera Sans Mono" as the default monospace font
  cause problems for example for Greek because the fallback
  glyphs used for Greek don't look nice together with
  "Bitstream Vera Sans Mono".

-------------------------------------------------------------------