FS#57647 - ttf-deja latest update don't show utf-8 characters correctly

Attached to Project: Arch Linux
Opened by Kooothor (Kooothor) - Monday, 26 February 2018, 15:13 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 27 February 2018, 01:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The package ttf-dejavu 2.37-2 appears to have broken something. ttf-dejavu 2.37-1 is working fine.

When using rxvt-unicode, some UTF-8 characters are not shown anymore see problem:
https://imgur.com/a/xfmIr

Here I'm showing the issue in tmux, but it also appears in git-prompt.

Additional info:
* this doesn't appear when using xterm instead of urxvt with the same config files for Xdefaults or tmux or git-prompt.

Steps to reproduce:
Use rxvt-unicode with ttf-dejavu 2.37-2 and this config: https://pastebin.com/neYmCrVW
Start tmux with this config: https://pastebin.com/FU0yiJEb
You should see the white rectangles instead of the triangle character.

This is reproduced on my two archlinux desktops.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 27 February 2018, 01:08 GMT
Reason for closing:  Not a bug
Comment by Jan de Groot (JGC) - Monday, 26 February 2018, 15:47 GMT
Only change was the removal of aliases that are included in fontconfig already.

My guess is that some other font is used now because your system has a settings file that overrides the fontconfig defaults.

Comment by Kooothor (Kooothor) - Monday, 26 February 2018, 19:23 GMT
@JGC, I don't think I have anything overriding font files. ~/.config/fontconfig is empty. /etc/fonts/local.conf doesn't exist. xset q shows this:

Font Path:
/usr/share/fonts/misc/,/usr/share/fonts/TTF/,/usr/share/fonts/OTF/,/usr/share/fonts/Type1/,/usr/share/fonts/100dpi/,/usr/share/fonts/75dpi/,built-ins

Comment by Jan de Groot (JGC) - Monday, 26 February 2018, 21:59 GMT
You probably have ttf-bitstream-vera installed, which has only limited unicode support.

In /etc/fonts/conf.d/60-latin.conf Bitstream Vera is the first choice for serif, sans-serif and monospace, so if you have that installed it will become the default font instead of dejavu.
Comment by Kooothor (Kooothor) - Monday, 26 February 2018, 22:29 GMT
Good catch! Indeed removing ttf-bitstream-vera package fixed the issue :)

Thanks for your help in resolving this!

Loading...