! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Unicode underline applied to the next character instead of the previous
Status:
RESOLVED: WONTFIX
Product:
Xfce4-terminal
Component:
General

Comments

Description Ashish Myles 2017-11-07 04:25:00 CET
I'm using the U+0332 COMBINING LOW LINE character on the terminal:
https://codepoints.net/U+0332?lang=en
Per https://en.wikipedia.org/wiki/Combining_character, "In Unicode, diacritics are always added after the main character..."
This can also be confirmed by looking at

<!DOCTYPE html>
<meta charset="UTF-8">
<span style="font-family:Courier;">.&#x0332;.&#x0332;.</span>

in your favorite unicode-compliant browser.

However, echoing to xfce-terminal using this character incorrectly puts an underline on the character after instead of the character before:
$ echo ".\xCC\xB2.\xCC\xB2."
Comment 1 Egmont Koblinger 2017-11-07 14:28:13 CET
Please see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854149.
Comment 2 Igor editbugs 2017-11-07 14:34:03 CET
Egmont, thanks for the link!

Ashish, thanks for the report. Unfortunately, there's nothing I can do in the terminal app as font rendering is done within vte, as Egmont pointed out.
I'm closing this bug as WONTFIX.
Comment 3 Egmont Koblinger 2017-11-07 14:38:36 CET
Ashish, as per the linked bug, my recommendation as a workaround is to pick another font where this issue doesn't occur, such as e.g. FreeMono Regular, Noto Mono Regular, Tlwg Mono Regular, Ubuntu Mono Regular.
Comment 4 Igor editbugs 2017-11-07 14:44:32 CET
The Hack font that I'm using also seems to handle this case correctly.
Comment 5 Ashish Myles 2017-11-08 02:46:16 CET
Thanks for the quick response! My distribution didn't actually didn't have any of those, but it did have Google Roboto Mono Regular which works correctly with this.

Bug #13980

Reported by:
Ashish Myles
Reported on: 2017-11-07
Last modified on: 2017-11-08

People

CC List:
1 user

Version

Version:
0.8.5.1

Attachments

Additional information