You are not logged in.

#1 2022-12-12 19:31:32

nnn
Member
Registered: 2014-02-07
Posts: 5

[SOLVED] Why xterm fonts go double-width in new install?

Old-timer here, using OpenBSD, FreeBSD, and many Linux distributions (even Arch) since 1998.

So why would Arch display xterm fonts double-width when using a TTF font?

New Arch Linux install today, default everything, no .Xresources file yet, window manager is Ratpoison, simple as can be. I've used this same setup for years.

Default font:
https://m.sive.rs/2022-12-12-220529.png

But when I switch to Inconsolata font:
https://m.sive.rs/2022-12-12-220614.png

Here's how it should look: Inconsolata on OpenBSD:
https://m.sive.rs/2022-12-12-221342.png

Any ideas?


Mod Edit - Replaced oversized images with links.
CoC - Pasting pictures and code

Last edited by nnn (2022-12-13 00:13:05)

Offline

#2 2022-12-12 19:41:40

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,170

Re: [SOLVED] Why xterm fonts go double-width in new install?

You're possibly using "inconsolata expanded"?
Please post the output of

xrdb -q

and

fc-list | grep -i inconso

What does

xterm -fa Inconsolata-10

do?

Last edited by seth (2022-12-12 19:42:02)

Offline

#3 2022-12-12 20:10:18

nnn
Member
Registered: 2014-02-07
Posts: 5

Re: [SOLVED] Why xterm fonts go double-width in new install?

Thanks for the reply! I really appreciate your help.

xrdb -q

returns nothing.

fc-list | grep -i inconsolata

returns a lot (see below).

and

xterm -fa Inconsolata-10

does the same double-width thing.

Not to pick on Inconsolata, all other TTF fonts I tried do this same double-width too.   EXCEPT I just installed "Ubuntu Mono" and that one works great: no double-width with Ubuntu Mono.

Any clue why they would be treated differently?

/usr/share/fonts/TTF/Inconsolata-SemiExpandedMedium.ttf: Inconsolata,Inconsolata Semi Expanded Medium:style=Semi Expanded Medium,Regular
/usr/share/fonts/TTF/Inconsolata-UltraCondensedMedium.ttf: Inconsolata,Inconsolata Ultra Condensed Medium:style=Ultra Condensed Medium,Regular
/usr/share/fonts/TTF/Inconsolata-ExtraExpandedBold.ttf: Inconsolata,Inconsolata Extra Expanded Bold:style=Extra Expanded Bold,Regular
/usr/share/fonts/TTF/Inconsolata-ExtraCondensedBlack.ttf: Inconsolata,Inconsolata Extra Condensed Black:style=Extra Condensed Black,Regular
/usr/share/fonts/TTF/Inconsolata-UltraCondensed.ttf: Inconsolata,Inconsolata Ultra Condensed:style=Ultra Condensed,Regular
/usr/share/fonts/TTF/Inconsolata-ExtraExpandedBlack.ttf: Inconsolata,Inconsolata Extra Expanded Black:style=Extra Expanded Black,Regular
/usr/share/fonts/TTF/Inconsolata-ExtraBold.ttf: Inconsolata,Inconsolata ExtraBold:style=ExtraBold,Regular
/usr/share/fonts/TTF/Inconsolata-SemiExpandedLight.ttf: Inconsolata,Inconsolata Semi Expanded Light:style=Semi Expanded Light,Regular
/usr/share/fonts/TTF/Inconsolata-UltraExpandedLight.ttf: Inconsolata,Inconsolata Ultra Expanded Light:style=Ultra Expanded Light,Regular
/usr/share/fonts/TTF/Inconsolata-ExtraCondensed.ttf: Inconsolata,Inconsolata Extra Condensed:style=Extra Condensed,Regular
/usr/share/fonts/TTF/Inconsolata-ExpandedBold.ttf: Inconsolata,Inconsolata Expanded Bold:style=Expanded Bold,Regular
/usr/share/fonts/TTF/Inconsolata-SemiExpandedBlack.ttf: Inconsolata,Inconsolata Semi Expanded Black:style=Semi Expanded Black,Regular
/usr/share/fonts/TTF/Inconsolata-Black.ttf: Inconsolata,Inconsolata Black:style=Black,Regular
/usr/share/fonts/TTF/Inconsolata-SemiBold.ttf: Inconsolata,Inconsolata SemiBold:style=SemiBold,Regular
/usr/share/fonts/TTF/Inconsolata-UltraExpandedBold.ttf: Inconsolata,Inconsolata Ultra Expanded Bold:style=Ultra Expanded Bold,Regular
/usr/share/fonts/TTF/Inconsolata-UltraExpandedBlack.ttf: Inconsolata,Inconsolata Ultra Expanded Black:style=Ultra Expanded Black,Regular
/usr/share/fonts/TTF/Inconsolata-UltraCondensedLight.ttf: Inconsolata,Inconsolata Ultra Condensed Light:style=Ultra Condensed Light,Regular
/usr/share/fonts/TTF/Inconsolata-Expanded.ttf: Inconsolata,Inconsolata Expanded:style=Expanded,Regular
/usr/share/fonts/TTF/Inconsolata-ExtraExpandedSemiBold.ttf: Inconsolata,Inconsolata Extra Expanded SemiBold:style=Extra Expanded SemiBold,Regular
/usr/share/fonts/TTF/Inconsolata-UltraExpandedExtraBold.ttf: Inconsolata,Inconsolata Ultra Expanded ExtraBold:style=Ultra Expanded ExtraBold,Regular
/usr/share/fonts/TTF/Inconsolata-ExpandedSemiBold.ttf: Inconsolata,Inconsolata Expanded SemiBold:style=Expanded SemiBold,Regular
/usr/share/fonts/TTF/Inconsolata-UltraExpandedExtraLight.ttf: Inconsolata,Inconsolata Ultra Expanded ExtraLight:style=Ultra Expanded ExtraLight,Regular
/usr/share/fonts/TTF/Inconsolata-ExpandedMedium.ttf: Inconsolata,Inconsolata Expanded Medium:style=Expanded Medium,Regular
/usr/share/fonts/TTF/Inconsolata-ExtraExpandedExtraBold.ttf: Inconsolata,Inconsolata Extra Expanded ExtraBold:style=Extra Expanded ExtraBold,Regular
/usr/share/fonts/TTF/Inconsolata-Bold.ttf: Inconsolata:style=Bold
/usr/share/fonts/TTF/Inconsolata-UltraCondensedSemiBold.ttf: Inconsolata,Inconsolata Ultra Condensed SemiBold:style=Ultra Condensed SemiBold,Regular
/usr/share/fonts/TTF/Inconsolata-Medium.ttf: Inconsolata,Inconsolata Medium:style=Medium,Regular
/usr/share/fonts/TTF/Inconsolata-CondensedBold.ttf: Inconsolata,Inconsolata Condensed Bold:style=Condensed Bold,Regular
/usr/share/fonts/TTF/Inconsolata-SemiCondensedBold.ttf: Inconsolata,Inconsolata Semi Condensed Bold:style=Semi Condensed Bold,Regular
/usr/share/fonts/TTF/Inconsolata-UltraCondensedBlack.ttf: Inconsolata,Inconsolata Ultra Condensed Black:style=Ultra Condensed Black,Regular
/usr/share/fonts/TTF/Inconsolata-SemiCondensedExtraBold.ttf: Inconsolata,Inconsolata Semi Condensed ExtraBold:style=Semi Condensed ExtraBold,Regular
/usr/share/fonts/TTF/Inconsolata-ExpandedExtraBold.ttf: Inconsolata,Inconsolata Expanded ExtraBold:style=Expanded ExtraBold,Regular
/usr/share/fonts/TTF/Inconsolata-SemiCondensedExtraLight.ttf: Inconsolata,Inconsolata Semi Condensed ExtraLight:style=Semi Condensed ExtraLight,Regular
/usr/share/fonts/TTF/Inconsolata-CondensedMedium.ttf: Inconsolata,Inconsolata Condensed Medium:style=Condensed Medium,Regular
/usr/share/fonts/TTF/Inconsolata-CondensedExtraLight.ttf: Inconsolata,Inconsolata Condensed ExtraLight:style=Condensed ExtraLight,Regular
/usr/share/fonts/TTF/Inconsolata-SemiCondensedLight.ttf: Inconsolata,Inconsolata Semi Condensed Light:style=Semi Condensed Light,Regular
/usr/share/fonts/TTF/Inconsolata-ExtraCondensedBold.ttf: Inconsolata,Inconsolata Extra Condensed Bold:style=Extra Condensed Bold,Regular
/usr/share/fonts/TTF/Inconsolata-CondensedBlack.ttf: Inconsolata,Inconsolata Condensed Black:style=Condensed Black,Regular
/usr/share/fonts/TTF/Inconsolata-ExpandedExtraLight.ttf: Inconsolata,Inconsolata Expanded ExtraLight:style=Expanded ExtraLight,Regular
/usr/share/fonts/TTF/Inconsolata-UltraCondensedBold.ttf: Inconsolata,Inconsolata Ultra Condensed Bold:style=Ultra Condensed Bold,Regular
/usr/share/fonts/TTF/Inconsolata-CondensedExtraBold.ttf: Inconsolata,Inconsolata Condensed ExtraBold:style=Condensed ExtraBold,Regular
/usr/share/fonts/TTF/Inconsolata-SemiExpandedSemiBold.ttf: Inconsolata,Inconsolata Semi Expanded SemiBold:style=Semi Expanded SemiBold,Regular
/usr/share/fonts/TTF/Inconsolata-Regular.ttf: Inconsolata:style=Regular
/usr/share/fonts/TTF/Inconsolata-CondensedLight.ttf: Inconsolata,Inconsolata Condensed Light:style=Condensed Light,Regular
/usr/share/fonts/TTF/Inconsolata-SemiCondensedBlack.ttf: Inconsolata,Inconsolata Semi Condensed Black:style=Semi Condensed Black,Regular
/usr/share/fonts/TTF/Inconsolata-UltraExpanded.ttf: Inconsolata,Inconsolata Ultra Expanded:style=Ultra Expanded,Regular
/usr/share/fonts/TTF/Inconsolata-UltraCondensedExtraLight.ttf: Inconsolata,Inconsolata Ultra Condensed ExtraLight:style=Ultra Condensed ExtraLight,Regular
/usr/share/fonts/TTF/Inconsolata-UltraCondensedExtraBold.ttf: Inconsolata,Inconsolata Ultra Condensed ExtraBold:style=Ultra Condensed ExtraBold,Regular
/usr/share/fonts/TTF/Inconsolata-ExtraExpanded.ttf: Inconsolata,Inconsolata Extra Expanded:style=Extra Expanded,Regular
/usr/share/fonts/TTF/Inconsolata-CondensedSemiBold.ttf: Inconsolata,Inconsolata Condensed SemiBold:style=Condensed SemiBold,Regular
/usr/share/fonts/TTF/Inconsolata-SemiCondensed.ttf: Inconsolata,Inconsolata Semi Condensed:style=Semi Condensed,Regular
/usr/share/fonts/TTF/Inconsolata-ExtraLight.ttf: Inconsolata,Inconsolata ExtraLight:style=ExtraLight,Regular
/usr/share/fonts/TTF/Inconsolata-UltraExpandedMedium.ttf: Inconsolata,Inconsolata Ultra Expanded Medium:style=Ultra Expanded Medium,Regular
/usr/share/fonts/TTF/Inconsolata-ExtraExpandedExtraLight.ttf: Inconsolata,Inconsolata Extra Expanded ExtraLight:style=Extra Expanded ExtraLight,Regular
/usr/share/fonts/TTF/Inconsolata-SemiCondensedMedium.ttf: Inconsolata,Inconsolata Semi Condensed Medium:style=Semi Condensed Medium,Regular
/usr/share/fonts/TTF/Inconsolata-SemiExpandedExtraBold.ttf: Inconsolata,Inconsolata Semi Expanded ExtraBold:style=Semi Expanded ExtraBold,Regular
/usr/share/fonts/TTF/Inconsolata-ExpandedBlack.ttf: Inconsolata,Inconsolata Expanded Black:style=Expanded Black,Regular
/usr/share/fonts/TTF/Inconsolata-ExtraExpandedMedium.ttf: Inconsolata,Inconsolata Extra Expanded Medium:style=Extra Expanded Medium,Regular
/usr/share/fonts/TTF/Inconsolata-ExtraCondensedExtraLight.ttf: Inconsolata,Inconsolata Extra Condensed ExtraLight:style=Extra Condensed ExtraLight,Regular
/usr/share/fonts/TTF/Inconsolata-UltraExpandedSemiBold.ttf: Inconsolata,Inconsolata Ultra Expanded SemiBold:style=Ultra Expanded SemiBold,Regular
/usr/share/fonts/TTF/Inconsolata-SemiExpandedBold.ttf: Inconsolata,Inconsolata Semi Expanded Bold:style=Semi Expanded Bold,Regular
/usr/share/fonts/TTF/Inconsolata-ExtraCondensedLight.ttf: Inconsolata,Inconsolata Extra Condensed Light:style=Extra Condensed Light,Regular
/usr/share/fonts/TTF/Inconsolata-Condensed.ttf: Inconsolata,Inconsolata Condensed:style=Condensed,Regular
/usr/share/fonts/TTF/Inconsolata-SemiCondensedSemiBold.ttf: Inconsolata,Inconsolata Semi Condensed SemiBold:style=Semi Condensed SemiBold,Regular
/usr/share/fonts/TTF/Inconsolata-SemiExpanded.ttf: Inconsolata,Inconsolata Semi Expanded:style=Semi Expanded,Regular
/usr/share/fonts/TTF/Inconsolata-ExtraCondensedSemiBold.ttf: Inconsolata,Inconsolata Extra Condensed SemiBold:style=Extra Condensed SemiBold,Regular
/usr/share/fonts/TTF/Inconsolata-ExtraCondensedExtraBold.ttf: Inconsolata,Inconsolata Extra Condensed ExtraBold:style=Extra Condensed ExtraBold,Regular
/usr/share/fonts/TTF/Inconsolata-ExpandedLight.ttf: Inconsolata,Inconsolata Expanded Light:style=Expanded Light,Regular
/usr/share/fonts/TTF/Inconsolata-SemiExpandedExtraLight.ttf: Inconsolata,Inconsolata Semi Expanded ExtraLight:style=Semi Expanded ExtraLight,Regular
/usr/share/fonts/TTF/Inconsolata-ExtraExpandedLight.ttf: Inconsolata,Inconsolata Extra Expanded Light:style=Extra Expanded Light,Regular
/usr/share/fonts/TTF/Inconsolata-Light.ttf: Inconsolata,Inconsolata Light:style=Light,Regular
/usr/share/fonts/TTF/Inconsolata-ExtraCondensedMedium.ttf: Inconsolata,Inconsolata Extra Condensed Medium:style=Extra Condensed Medium,Regular

Last edited by nnn (2022-12-13 00:12:10)

Offline

#4 2022-12-12 20:23:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,170

Re: [SOLVED] Why xterm fonts go double-width in new install?

Please use code tags, https://bbs.archlinux.org/help.php#bbcode
What are "all other TTF fonts I tried" exactly?

If there're no xrdb entries, how do you usually start xterm and select the font?
The image looks like it's treated as variable width font…

fc-list :mono | grep -i incons

Offline

#5 2022-12-12 20:46:34

nnn
Member
Registered: 2014-02-07
Posts: 5

Re: [SOLVED] Why xterm fonts go double-width in new install?

Thanks again. I think you're right that Inconsolata in particular was/is being treated as variable width, not mono.  Now that I see the "fc-list :mono", everything I try there (except Inconsolata) works great, no double-width.

I had no xrdb entries while debugging, removed my .Xresources file to remove all variables, loading fonts manually.  But now it's back with .vt100.faceName Ubuntu Mono and all is well.

You're a really impressive dude, Seth.  33,784 posts in the last 10 years, helping fools like me.  Thank you.

Last edited by nnn (2022-12-13 00:12:34)

Offline

#6 2022-12-12 21:26:44

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,170

Re: [SOLVED] Why xterm fonts go double-width in new install?

Offline

#7 2022-12-12 23:11:40

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED] Why xterm fonts go double-width in new install?

seth wrote:

nnn, you have been asked to use code tags twice now (once in a previous thread). Please edit your post now. Using code tags makes the output easier to read and provides a scroll box for long output.

https://wiki.archlinux.org/title/Genera … s_and_code
https://bbs.archlinux.org/help.php#bbcode


If you consider your problem solved, please also remember to mark your thread [SOLVED] (edit the title of your first post).

Offline

Board footer

Powered by FluxBB