Bug 89927 - Most fonts provided for konsole don't have all required Unicode characters
Summary: Most fonts provided for konsole don't have all required Unicode characters
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.3.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-21 09:52 UTC by Eric L.
Modified: 2007-08-31 17:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric L. 2004-09-21 09:52:49 UTC
Version:           1.3.2 (using KDE 3.2.3,  (testing/unstable))
Compiler:          gcc version 3.3.3 (Debian 20040422)
OS:                Linux (i686) release 2.4.27-5deb1

Hi,

I have LANG=en_IE.UTF-8 and unicode does work but the only font proposed by konsole which has all the required characters is LucidaTypewriter, all other fonts as far as I could see miss either one of apostrophe or dash.
It's easy to test calling "man man" and looking e.g. in the EXAMPLES section for "man -t alias..."; the line below (Format  the manual page referenced by ‘alias’, usually a shell man-) does only show properly with LucidaTypewriter (the fact that one font shows it properly lets me think that it's only a font problem, and not a setup one).

Cheers, Eric
Comment 1 Waldo Bastian 2004-09-21 12:09:31 UTC
That's not something we can fix in konsole. Either configure fontconfig to do a better job at font substitution or install more complete fonts.
Comment 2 Eric L. 2004-09-21 13:36:29 UTC
Hi,

I do only partially agree with the resolution: most fonts are not delivered with konsole but the "Console" fonts are (AFAIK of course), i.e. console8x16.pcf and console8x8.pcf. At least under Debian they are presented like this:
 Fonts used by the KDE Konsole
 These are the default fonts used by the Konsole
 terminal emulator from KDE. You may also use them
 with other X applications.
 .
 Two character cell (monospaced) fonts in the ISO 10646-1
 encoding are provided: 8x8 and 8x16 one.
 .
 This package is part of the official KDE base module.

Another argument: I've seen many bug reports aiming to the fact that Konsole doesn't support properly Unicode, many ones might be related to the fact that the standard fonts do not have all Unicode characters. Hence I think it would be in your interest to fix the problem, cutting down the number of bug reports!?

Cheers, Eric
Comment 3 Waldo Bastian 2004-09-21 14:32:09 UTC
Stupid me, how come I didn't think of that earlier? You are completely right!
Comment 4 Thomas Wolff 2006-08-16 22:45:40 UTC
*** This bug has been confirmed by popular vote. ***
Comment 5 Robert Knight 2007-07-24 19:54:37 UTC
I haven't seen such problems with the default mono-space font that ships with modern desktop Linuxes ( typically Deja Vu Sans Mono ) which I think has pretty good Unicode coverage.  Can you confirm if this is still a problem in 2007?
Comment 6 Matthew Woehlke 2007-07-24 20:32:12 UTC
Some of us still prefer "Console" as our preferred font! :-) Although comment #1 seems to address this...
Comment 7 Eric L. 2007-07-26 04:34:32 UTC
Hi,

the aim of this bug was really to have konsole use per default a mostly complete font. I thought (and still think) that for newbyes, it's not obvious that the fact that "strange" characters are not shown on the console is due to a font issue, and not to "konsole does not support Unicode".

Personally, I'm using in deed Deja Vu Sans Mono and am happy with it. Perhaps should really konsole throw away its own fonts, and just use Deja Vu as font per default.

Do as you please, Eric
Comment 8 Robert Knight 2007-07-26 07:30:58 UTC
> I thought (and still think) that for newbyes
> it's not obvious that the fact that "strange" characters are not 
> shown on the console is due to a font issue

Konsole uses the system mono-space font by default (or at least, it definitely does in KDE 4, I'm not sure about KDE 3), which is very likely to be from the Deja Vu family on a modern desktop.

So, in summary, I would expect Konsole to be using the DVS Mono or BVS Mono font on most desktops by default which I believe have the required characters.




Comment 9 Benny Malengier 2007-08-31 16:57:33 UTC
Hi, 
this is in kubuntu feisty. 
I start Konsole,
then $python
in python I do
>>a = u'\u2033'
>>> print a
′

Here you see the apostrophe (the second sign of utf), but in konsole I do not see it. Only a box of missing character
In Ubuntu, Terminal, this all shows just fine. 

I see that also Kate doesn't show the symbol. However, in Kate you can change the font in the preferences. Setting it to FreeMono shows the symbol, Deja Vu Sans Mono or another mono I have here does _not_

I find this really weird, as openoffice, SPE, konqueror or firefox have no problem with this symbol (eg view http://tools.wikimedia.de/~magnus/geo/geohack.php?language=de&params=49_34_48_N_10_36_32_E_type:city(12326)_region:DE-BY))

Comment 10 Robert Knight 2007-08-31 17:43:12 UTC
> Only a box of missing character 

I get the same result in KDE 3.  The apostrophe prints correctly in Konsole / KDE 4 though, although I noticed a very slight delay the first time the character is printed.