You are not logged in.

#1 2010-12-07 06:24:37

zivziv
Member
From: Florida, USA
Registered: 2010-02-05
Posts: 49
Website

pseudographics displaying issues after ttf-dejavu upgrade

With ttf-dejavu upgraded to 2.32 (-1 or -2 doesn't matter) pseudographics in the terminal emulator is being displayed incorrectly:

mc incorrect

while it should look like this:

mc correct

Terminal emulator (gnome-terminal) uses the Monospace font.

I've found the way to make it display pseudographics correctly by switching font to DejaVu LGC Sans Mono (DejaVu Sans Mono doesn't work) but what's wrong with Monospace which I've been using for years?

Offline

#2 2010-12-07 11:44:22

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: pseudographics displaying issues after ttf-dejavu upgrade

"Monospace" is almost certainly an alias for another font.  I doubt if you have, or had, a font whose actual name is "Monospace".

To show the font being matched to "Monospace" by fontconfig, try:

fc-match Monospace

There are similar substitutions made through fontconfig for the other generic fonts "Sans" and "Serif".  The substituted fonts can be changed; see https://wiki.archlinux.org/index.php/Font_Configuration.

Offline

#3 2010-12-07 12:01:07

zivziv
Member
From: Florida, USA
Registered: 2010-02-05
Posts: 49
Website

Re: pseudographics displaying issues after ttf-dejavu upgrade

You are right, "Monospace" is an alias for "DejaVu Sans Mono" "Book". And as far as I see this alias hasn't changed since ttf-dejavu-2.30. So, what's wrong with "DejaVu Sans Mono" now?

Offline

#4 2010-12-08 00:41:24

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: pseudographics displaying issues after ttf-dejavu upgrade

I'm not sure what may be the problem.  The DejaVu LGC fonts are supposed to be a subset of the DejaVu fonts for Latin, Greek and Cyrillic.  Examining the two fonts in Fontforge shows, with a brief look, that if a glyph appears in the LGC set, it has the same encoding as the same glyph in the DejaVu superset.

I don't have Gnome-Terminal installed.  I use xterm and I have no problems with either DejaVu Sans Mono or its LGC variation.  I temporarily installed mc just to see if problems showed up.

Offline

Board footer

Powered by FluxBB