You are not logged in.

#1 2020-03-23 14:21:19

ms-sloth
Member
Registered: 2020-03-23
Posts: 9

ttf-inconsolata-1 breaks st and dmenu text upgrading 2.0 to 3.0

I've been struggling a bit with updating my system (-Syu). One major issue was that when I finally got the update through, I could no longer read the text in my terminal or using dmenu.

I've restored a backup several times and tried the update w/o several packages, and I've made sure I update to the newest versions of the suckless software without any modifications and the issue maintains.
I managed to work out that this was a font eventually (I know the text being out of whack should have been a giveaway, but..) and once I updated just this, I reproduced the issue. I can't see any issues reported on this, and I don't really know where to go from here. I would rather not update the system and ignore the package.

Offline

#2 2020-03-23 16:15:33

seth
Member
Registered: 2012-09-03
Posts: 50,012

Re: ttf-inconsolata-1 breaks st and dmenu text upgrading 2.0 to 3.0

could no longer read the text

text being out of whack

This is one of the rare occasions where a screenshot of text is actually a good idea :-P

Offline

#3 2020-03-23 16:28:44

ms-sloth
Member
Registered: 2020-03-23
Posts: 9

Re: ttf-inconsolata-1 breaks st and dmenu text upgrading 2.0 to 3.0

I'm not sure how to put up a link to the screencap. working on it ^^'

edit: http://ix.io/2f3C
found out

Last edited by ms-sloth (2020-03-23 16:32:37)

Offline

#4 2020-03-23 16:31:20

ms-sloth
Member
Registered: 2020-03-23
Posts: 9

Re: ttf-inconsolata-1 breaks st and dmenu text upgrading 2.0 to 3.0

Offline

#5 2020-03-23 16:34:45

uruz
Member
Registered: 2018-07-04
Posts: 37

Re: ttf-inconsolata-1 breaks st and dmenu text upgrading 2.0 to 3.0

If it is what I am experiencing, each character is separated by a space.  This results in all text being spread across the screen.
Screenshot of htop: https://imgur.com/a/BhLb34V

Edit:
Yes, appears to be the same issue.  Thanks for posting, ms-sloth.

Last edited by uruz (2020-03-23 16:37:51)

Offline

#6 2020-03-23 16:37:41

ms-sloth
Member
Registered: 2020-03-23
Posts: 9

Re: ttf-inconsolata-1 breaks st and dmenu text upgrading 2.0 to 3.0

uruz wrote:

If it is what I am experiencing, each character is separated by a space.  This results in all text being spread across the screen.
Screenshot of htop: https://imgur.com/a/BhLb34V

Mine's similar. There's a space character between each letter.

Offline

#7 2020-03-23 16:50:11

prosoitos
Member
Registered: 2018-03-31
Posts: 68
Website

Re: ttf-inconsolata-1 breaks st and dmenu text upgrading 2.0 to 3.0

I also had to downgrade ttf-inconsolata.

In some apps in which I use inconsolata, I had spaces between each character as described above. In my terminal emulator (urxvt), I had some ugly font instead (some backup to fall back onto in case of issue I imagine).

I searched but did not find any open bug about ttf-inconsolata. Should one be opened? (I would be happy to do so, but I thought I'd check first to make sure not to create unnecessary noise in the bug site).

Last edited by prosoitos (2020-03-23 16:52:08)

Offline

#8 2020-03-23 16:52:12

ms-sloth
Member
Registered: 2020-03-23
Posts: 9

Re: ttf-inconsolata-1 breaks st and dmenu text upgrading 2.0 to 3.0

prosoitos wrote:

I also had to downgrade ttf-inconsolata.

In some apps in which I use inconsolata, I had spaces between each character as described above. In my terminal emulator (urxvt), I had some ugly font instead (some backup to fall back onto in case of issue I imagine).

I searched but did not find any open bug about ttf-inconsolata. Should one be open?

I was wondering the same in regards to the bug. But I've never posted anything before, so I figured it'd be better to try and hear if there was something obvious I'd missed.

Offline

#9 2020-03-23 17:07:45

uruz
Member
Registered: 2018-07-04
Posts: 37

Re: ttf-inconsolata-1 breaks st and dmenu text upgrading 2.0 to 3.0

Downgrading worked for me.  Did the IgnorePkg and all's well.

Offline

#10 2020-03-23 17:26:40

seth
Member
Registered: 2012-09-03
Posts: 50,012

Offline

#11 2020-03-23 17:49:04

ms-sloth
Member
Registered: 2020-03-23
Posts: 9

Re: ttf-inconsolata-1 breaks st and dmenu text upgrading 2.0 to 3.0

Should I post my issue here as well?

Offline

#12 2020-03-23 17:56:41

seth
Member
Registered: 2012-09-03
Posts: 50,012

Re: ttf-inconsolata-1 breaks st and dmenu text upgrading 2.0 to 3.0

You can post a "me too" there, but it's pointless.
The bug suggests that the problem is with xft (handling ligatures), so realistically it won't be fixed in the font and it's less than certain that xft will see some update anytime soon :-(

Offline

#13 2020-03-23 18:00:19

ms-sloth
Member
Registered: 2020-03-23
Posts: 9

Re: ttf-inconsolata-1 breaks st and dmenu text upgrading 2.0 to 3.0

hm. Would it be better to try and switch font? or would it then remain with xft?

Offline

#14 2020-03-23 18:04:06

seth
Member
Registered: 2012-09-03
Posts: 50,012

Re: ttf-inconsolata-1 breaks st and dmenu text upgrading 2.0 to 3.0

Try "Source Code Pro", but any font could pot. trigger this in the future.

Offline

#15 2020-03-23 18:15:09

ms-sloth
Member
Registered: 2020-03-23
Posts: 9

Re: ttf-inconsolata-1 breaks st and dmenu text upgrading 2.0 to 3.0

seth wrote:

Try "Source Code Pro", but any font could pot. trigger this in the future.

Are fonts an X11 thing? or do I need to go into my suckless utilities and change it? So far I've been satisfied with just the default fonts for this ^^'

Offline

#16 2020-03-23 18:21:28

seth
Member
Registered: 2012-09-03
Posts: 50,012

Re: ttf-inconsolata-1 breaks st and dmenu text upgrading 2.0 to 3.0

You need to either select the font in the st config (and recompile it, suckless my ass ;-) or configure st to use a generic font (like "monospace") and use fontconfig to ensure monospace resolves to the font of your desire.

~/.config/fontconfig/conf.d/99-monospace.conf

<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
    <alias>
        <family>monospace</family>
        <prefer><family>Source Code Pro</family></prefer>
    </alias>
</fontconfig>

Offline

#17 2020-03-23 18:22:49

ms-sloth
Member
Registered: 2020-03-23
Posts: 9

Re: ttf-inconsolata-1 breaks st and dmenu text upgrading 2.0 to 3.0

Thank you ^^ I have it set to monospace. smile

Offline

Board footer

Powered by FluxBB