[konsole] [Bug 371687] New: Unicode characters appear cut off and mess up text height for rest of line

flarn2006 bugzilla_noreply at kde.org
Tue Oct 25 23:47:02 UTC 2016


            Bug ID: 371687
           Summary: Unicode characters appear cut off and mess up text
                    height for rest of line
           Product: konsole
           Version: 15.12.3
          Platform: Other
               URL: http://unix.stackexchange.com/questions/318909/how-do-
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: font
          Assignee: konsole-devel at kde.org
          Reporter: flarn2006 at gmail.com
  Target Milestone: ---

User-Agent:       Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0)
Gecko/20100101 Firefox/49.0
Build Identifier: 15.12.3

Whenever Konsole needs to use Unicode characters that are a different height
from the rest of the text (generally because they aren't available in the
selected font, so it needs to get them from a different one) they don't appear
correctly. Instead of being resized to fit in the line, the characters are
simply cropped, so part of it isn't visible. The line height also isn't reset,
so the rest of the line (even normal characters) is offset and doesn't line up
vertically with the beginning of the line. This can lead to these characters
being cut off as well.

Reproducible: Always

Steps to Reproduce:
1. Make sure Konsole's encoding is set to UTF-8.

2. Type 'uudecode' at the shell prompt in Konsole and press Enter.

3. Copy and paste the following text into Konsole, starting with (and
including) the "begin" line and ending with (and including) "end".

begin 664 /dev/stdout
M"@H)54Y)0T]$12`]/3T]/3X at XX.]X+R\X+J(V83-G."ZB."\O>^^B2`\/3T]
-/3T at 54Y)0T]$10H*"@``

4. Press Enter if necessary.

5. Note how the characters are cut off, and how the beginning and end of the
line are not lined up.
Actual Results:  
https://i.stack.imgur.com/GkZdn.png (the very bottom of the image)

Expected Results:  
https://i.stack.imgur.com/ba35f.png (the very bottom of the image)

This image is from gnome-terminal, which displays text correctly.

Turning off bi-directional text rendering makes the remainder of the line shift
up instead of down.

The font used in the example images (also the font I use regularly) is "PxPlus
IBM VGA8", available from the following URL:

You are receiving this mail because:
You are the assignee for the bug.

More information about the konsole-devel mailing list