Bug 149520 - Konsole does not cope with the unicode representations from the APL part of the unicode set
Summary: Konsole does not cope with the unicode representations from the APL part of t...
Status: RESOLVED LATER
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.6.5
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-03 17:02 UTC by Geoff Streeter
Modified: 2011-07-30 14:42 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
apl (2.85 KB, application/octet-stream)
2007-09-04 14:50 UTC, Geoff Streeter
Details
displayed in KDE4 konsole (97.86 KB, image/png)
2011-07-26 21:38 UTC, Jekyll Wu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geoff Streeter 2007-09-03 17:02:54 UTC
Version:           1.6.5 (using KDE 3.5.5 "release 45.4" , openSUSE 10.2)
Compiler:          Target: x86_64-suse-linux
OS:                Linux (x86_64) release 2.6.18.8-0.5-default

Konsole doesn't seem to cope with characters in the range U2336-U237a.
Gnome terminal, running under KDE does.
Comment 1 Robert Knight 2007-09-04 01:02:26 UTC
Picking a few characters from that range at random I was able to get them to print properly in Konsole (KDE 3.5.6) , Gnome Terminal (2.18) and the current Konsole (KDE 4) build.

Can you give a few specific examples of characters that are not printing properly in Konsole (KDE 3.5.5) for you?
Comment 2 Geoff Streeter 2007-09-04 09:23:54 UTC
Robert:

Good to here that this might have already been fixed. I can't get 
U236a (comma bar), U2352 (del stile aka downgrade), U234b (delta 
stile aka upgrade) and lots more.

Geoff

At 2007-09-04 00:02, you wrote:
[bugs.kde.org quoted mail]
Comment 3 Robert Knight 2007-09-04 13:40:14 UTC
U+2352 and U+234B are displayed correctly in all 3 terminals( Konsole KDE3/4 , Gnome Terminal ) here.  None of them printed U+236A, according to debug output from gnome-terminal that is because I don't have a font containing that character.

As far as I am aware, nothing changed in Konsole's code which might affect unicode support between KDE 3.5.5 and 3.5.6, so something is probably happening lower down the stack.

Do these characters print correctly in Konqueror or Kate on your PC?

Comment 4 Geoff Streeter 2007-09-04 14:16:58 UTC
At 2007-09-04 12:40, you wrote:
[bugs.kde.org quoted mail]

No they don't. OpenOffice Writer gets them.

Geoff 
Comment 5 Geoff Streeter 2007-09-04 14:50:14 UTC
At 2007-09-04 12:40, you wrote:
[bugs.kde.org quoted mail]

I have attached a file showing the apl keyboard overlay I am trying 
to define. It shows the characters I am trying to get. Note that the 
"L" key has on it a square box (aka quad) and narrow box (aka squish 
quad) neither of these display in the same manner as the grey square 
that KDE apps use for "I can't display this character". If you wish I 
have an xkb symbols file for this. 


Created an attachment (id=21546)
apl
Comment 6 Geoff Streeter 2007-09-04 17:06:45 UTC
At 2007-09-04 12:40, you wrote:
[bugs.kde.org quoted mail]
There is something else going on here. If I use the "Misc Fixed" font 
I get the characters.  However, other fonts that have the characters 
in them (like "Monospace") don't work. I was using a font called 
"apl385" which also didn't work. "Monospace" is the default font for 
gnome-terminal where it does work for the apl characters. 
Comment 7 Robert Knight 2007-09-04 17:59:04 UTC
> No they don't.

So to clarify, these characters don't print in KDE applications, but they do in Gnome apps?

Do you know what Qt version you have installed?

> There is something else going on here. 
> If I use the "Misc Fixed" font I get the characters.

That is odd.  What usually happens is that the chosen font is preferred, but if it doesn't contain the character which is to be drawn, then another font which does contain that character is loaded and used instead.

Comment 8 Geoff Streeter 2007-09-04 18:30:05 UTC
At 2007-09-04 16:59, you wrote:
[bugs.kde.org quoted mail]

I appear to be using libqt4 4.2.1-20 x86_64 
Comment 9 Robert Knight 2007-09-04 20:26:28 UTC
> I appear to be using libqt4 4.2.1-20 x86_64 

Konsole (KDE 3.5.5) uses Qt 3 rather than Qt 4 (both can be installed at the same time).

You can get the Qt 3 version by running:

pkg-config --modversion qt-mt
Comment 10 Geoff Streeter 2007-09-05 09:41:52 UTC
At 2007-09-04 19:26, you wrote:
[bugs.kde.org quoted mail]

rpm tells me qt3 3.3.7-16 x86_64 
Comment 11 Geoff Streeter 2007-09-06 09:41:19 UTC
At 2007-09-04 19:26, you wrote:
[bugs.kde.org quoted mail]

I went on a learning experience yesterday. "Monospace" is a virtual 
font, it isn't an actual single font. The apl characters come from a 
font called "Cumberland AMT". This is not the first font in the list. 
In fact it is preceded by another font called "Fixed" which I think 
is also a virtual font. So it looks as if the problem may be with 
obtaining characters that are not in the first font in a virtual font.  
Comment 12 Luke Peterson 2009-07-03 08:34:55 UTC
I'm using Konsole that ships with Kubuntu 9.04, and I can't get the Unicode combining diacritic "combining dot above" U+0307 to work.  For example, if I go into Python, I get:
luke@DELL-E1505:~/lib/python/sympy(master)$ python
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> print(u'a\u0307')
a
>>>

Which, at least on my computer is an a with no dot above it.  Other diacrits work though:
>>> print(u'a\u0352')>>>

I'm trying to use the dot above some letters for some symbolic mathematics where things like dx/dt would be represented more compactly by using the Newton notation for the derivative, i.e., an x with a dot above it.

I don't think it is an issue with the font I'm using, which is DejaVu Sans Mono, which is supposed to support this character.

xterm prints this just fine on my computer, with the exact same commands.  

Any ideas what I should do to fix this?
Comment 13 Jekyll Wu 2011-07-26 21:31:13 UTC
(In reply to comment #5)
> I have attached a file showing the apl keyboard overlay I am trying  to define.

The KDE4 konsole seems to be able to display that file without probelm.

I am using konsole-2.7.999 and the font is DejaVu Sans Mono.
Comment 14 Jekyll Wu 2011-07-26 21:38:38 UTC
Created attachment 62221 [details]
displayed in KDE4 konsole