mysterious behaviour with fonts

Bug #1561207 reported by buhtz
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Terminator
Fix Released
Undecided
Unassigned

Bug Description

On the screenshot you see two terminal windows in the background. The
left is terminator the right is "Konsole" (KDE 4). Both of them use the
font "Hack" in 10pts.

But you can see they don't display the "vertical line" character the
same way. Terminator has a little space between them. But the python3
code producing this is exactly the same.

What is behind that behaviour?

Revision history for this message
buhtz (buhtz) wrote :
Revision history for this message
Stephen Boddy (stephen-j-boddy) wrote :

Hmmmmmmmmmm.... OK, so I don't think this is a Terminator bug, though there is a way to "fix" it. I'll try and explain why.

Terminator is a Python program wrapped around the C based libvte terminal widget that is used by many, many terminal emulators, though not Konsole. Konsole uses completely different technologies.
Libvte is built on/for gtk libraries.
Gtk libraries use the libpango font renderer.

The default Terminator (and libvte) is based on gtk2 libraries. Another terminal app Guake is also gtk2 and also displays the strangeness in the vertical bars.

It is not clear if this strangeness is happening within the libvte widget, or the libpango font renderering, but it'll be one of those two.

Gnome Terminal is based on gtk3, which in turn has updated libvte and libpango, and it *doesn't* display this strangeness. So the problem is the old base libraries of default Terminator.

We do have an essentially complete, stable port to gtk3 which "fixes" the issue. It is typically a little more involved to get and install though. See this page if you want to give it a try:
http://gnometerminator.blogspot.de/2015/09/so-you-want-to-try-terminator-gtk3.html

I'll mark this as Fix Committed (just not released.)

Changed in terminator:
status: New → Fix Committed
Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

Note: gtk3 based vte "fixes" this issue by manually drawing these glyphs (U+2500 .. U+209F) instead of taking them from the font.

Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

... and the same goes for konsole, too.

Changed in terminator:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.