You are not logged in.
Hey,
I installed the font termsyn from AUR. Since it is installed to /usr/share/fonts/local, I did a
xset +fp /usr/share/fonts/local
xset fp rehash
But (also after restarting) I cannot use the font in dzen2 (dzen2-git from AUR). I can however use it in urxvt with this in in .Xdefaults:
URxvt.font: -*-termsyn-medium-r-*-*-13-*-*-*-*-*-*-*
I try it with something like this:
echo 'hello word' | dzen2 -p -fn "termsyn"
echo 'hello word' | dzen2 -p -fn "-*-termsyn-medium-r-*-*-13-*-*-*-*-*-*-*"
but it just uses some default font.
Some tools find it, but some others dont:
~ % xlsfonts | grep termsyn
-misc-termsyn-bold-r-normal--0-0-100-100-c-0-iso8859-1
-misc-termsyn-bold-r-normal--0-0-100-100-c-0-iso8859-2
-misc-termsyn-bold-r-normal--0-0-75-75-c-0-iso8859-1
-misc-termsyn-bold-r-normal--0-0-75-75-c-0-iso8859-2
-misc-termsyn-bold-r-normal--11-79-100-100-c-60-iso8859-1
-misc-termsyn-bold-r-normal--11-79-100-100-c-60-iso8859-2
-misc-termsyn-bold-r-normal--12-87-100-100-c-70-iso8859-1
-misc-termsyn-bold-r-normal--12-87-100-100-c-70-iso8859-2
-misc-termsyn-bold-r-normal--13-120-75-75-c-60-iso8859-1
-misc-termsyn-bold-r-normal--13-120-75-75-c-60-iso8859-2
-misc-termsyn-bold-r-normal--14-101-100-100-c-70-iso8859-1
-misc-termsyn-bold-r-normal--14-101-100-100-c-70-iso8859-2
-misc-termsyn-medium-r-normal--0-0-100-100-c-0-iso8859-1
-misc-termsyn-medium-r-normal--0-0-100-100-c-0-iso8859-2
-misc-termsyn-medium-r-normal--0-0-75-75-c-0-iso8859-1
-misc-termsyn-medium-r-normal--0-0-75-75-c-0-iso8859-2
-misc-termsyn-medium-r-normal--11-79-100-100-c-60-iso8859-1
-misc-termsyn-medium-r-normal--11-79-100-100-c-60-iso8859-2
-misc-termsyn-medium-r-normal--12-87-100-100-c-70-iso8859-1
-misc-termsyn-medium-r-normal--12-87-100-100-c-70-iso8859-2
-misc-termsyn-medium-r-normal--13-120-75-75-c-60-iso8859-1
-misc-termsyn-medium-r-normal--13-120-75-75-c-60-iso8859-2
-misc-termsyn-medium-r-normal--14-101-100-100-c-70-iso8859-1
-misc-termsyn-medium-r-normal--14-101-100-100-c-70-iso8859-2
-misc-termsyn.icons-bold-r-normal--0-0-100-100-c-0-iso8859-1
-misc-termsyn.icons-bold-r-normal--0-0-75-75-c-0-iso8859-1
-misc-termsyn.icons-bold-r-normal--11-79-100-100-c-60-iso8859-1
-misc-termsyn.icons-bold-r-normal--12-87-100-100-c-70-iso8859-1
-misc-termsyn.icons-bold-r-normal--13-120-75-75-c-60-iso8859-1
-misc-termsyn.icons-bold-r-normal--14-101-100-100-c-70-iso8859-1
-misc-termsyn.icons-medium-r-normal--0-0-100-100-c-0-iso8859-1
-misc-termsyn.icons-medium-r-normal--0-0-75-75-c-0-iso8859-1
-misc-termsyn.icons-medium-r-normal--11-79-100-100-c-60-iso8859-1
-misc-termsyn.icons-medium-r-normal--12-87-100-100-c-70-iso8859-1
-misc-termsyn.icons-medium-r-normal--13-120-75-75-c-60-iso8859-1
-misc-termsyn.icons-medium-r-normal--14-101-100-100-c-70-iso8859-1
-misc-termsynu-bold-r-normal--0-0-100-100-c-0-iso10646-1
-misc-termsynu-bold-r-normal--0-0-75-75-c-0-iso10646-1
-misc-termsynu-bold-r-normal--11-79-100-100-c-60-iso10646-1
-misc-termsynu-bold-r-normal--12-87-100-100-c-70-iso10646-1
-misc-termsynu-bold-r-normal--13-120-75-75-c-60-iso10646-1
-misc-termsynu-bold-r-normal--14-101-100-100-c-70-iso10646-1
-misc-termsynu-medium-r-normal--0-0-100-100-c-0-iso10646-1
-misc-termsynu-medium-r-normal--0-0-75-75-c-0-iso10646-1
-misc-termsynu-medium-r-normal--11-79-100-100-c-60-iso10646-1
-misc-termsynu-medium-r-normal--12-87-100-100-c-70-iso10646-1
-misc-termsynu-medium-r-normal--13-120-75-75-c-60-iso10646-1
-misc-termsynu-medium-r-normal--14-101-100-100-c-70-iso10646-1
~ % fc-list | grep termsyn
~ %
~ % xset q
[...]
Font Path:
/usr/share/fonts/local,/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
The strangest thing is I did the same thing on a similar machine and everything worked ootb there.
I have absolutely no idea how to tackle this problem.
Best, senft
Last edited by senft (2013-12-20 16:37:46)
Offline
i just installed termsyn to see, and can't reproduce the problem.
i use dzen2 git version 0.9.5git-1.
i have noticed that dzen2 sometimes likes to have the exact font string, e.g.
-xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso8859-1
instead of
-*-terminus-medium-r-*-*-14-*-*-*-*-*-*-*
Offline
Yeah, I cannot reproduce this on another machine neither. It just happens on my laptop.
I was hoping someone could point me in some direction to "debug" this...
And I also tried it with -misc-termsyn-medium-r-normal--12-87-100-100-c-70-iso8859-1
Last edited by senft (2013-12-20 19:28:51)
Offline
there's like 10 different dzen2 versions inthe aur - you could just try them 1 by 1, maybe get a hit?
Offline
I've tried them all. None works with termsyn on this machine. I also don't think dzen2 is the problem here. When I install for example terminus-font (which is also installed to /usr/share/fonts/local) I can use terminus with dzen2. `fc-list` and `xlsfonts`recognize terminus.
I assume that is the exact problem. Somehow termsyn is not recognized by "all systems" (xlsfonts lists termsyn, fc-list does not).
Btw the output of fc-cache
~ % fc-cache -vf
/usr/share/fonts: caching, new cache contents: 0 fonts, 12 dirs
/usr/share/fonts/100dpi: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/75dpi: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/OTF: caching, new cache contents: 17 fonts, 0 dirs
/usr/share/fonts/TTF: caching, new cache contents: 107 fonts, 0 dirs
/usr/share/fonts/Type1: caching, new cache contents: 35 fonts, 0 dirs
/usr/share/fonts/cantarell: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/cyrillic: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/encodings: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/local: caching, new cache contents: 24 fonts, 0 dirs <--------------------------------
/usr/share/fonts/microsoft: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/misc: caching, new cache contents: 77 fonts, 0 dirs
/usr/share/fonts/util: caching, new cache contents: 0 fonts, 0 dirs
/home/jln/.local/share/fonts: skipping, no such directory
/home/jln/.fonts: caching, new cache contents: 3 fonts, 0 dirs
/usr/share/fonts: caching, new cache contents: 0 fonts, 12 dirs
/home/jln/.local/share/fonts: skipping, no such directory
/home/jln/.fonts: caching, new cache contents: 3 fonts, 0 dirs
/var/cache/fontconfig: not cleaning unwritable cache directory
/home/jln/.cache/fontconfig: cleaning cache directory
/home/jln/.fontconfig: cleaning cache directory
fc-cache: succeeded
Those 24 fonts in /usr/share/fonts/local are termsyn font files.
Last edited by senft (2013-12-21 09:48:17)
Offline
hmm. you have only termsyn in /usr/share/fonts/local?
are there also the other files, fonts.dir (and sometimes fonts.scale)?
iiuc you have also terminus installed, but on my machine it's also in /usr/share/fonts/local???
did you also reboot (not only restart X)? I found xft is very particular about this, but dzen2 shouldn't be using it.
Offline
hmm. you have only termsyn in /usr/share/fonts/local?
Yes, I just tried terminus for testing purposes, because I knew it would be installed to /usr/share/fonts/local and I just wanted to see if the directory is detected correctly.
are there also the other files, fonts.dir (and sometimes fonts.scale)?
Yep, everything is in place.
/usr/share/fonts/local % ll
▕ -rw-r--r--▏root:root▕▏24 sec ▕▏ 2K▕▏fonts.dir
▕ -rw-r--r--▏root:root▕▏24 sec ▕▏ 2B▕▏fonts.scale
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 18K▕▏termsyn6x11b.icons.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 18K▕▏termsyn6x11b.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 18K▕▏termsyn6x11b2.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 18K▕▏termsyn6x11r.icons.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 18K▕▏termsyn6x11r.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 18K▕▏termsyn6x11r2.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 20K▕▏termsyn6x13b.icons.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 20K▕▏termsyn6x13b.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 20K▕▏termsyn6x13b2.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 20K▕▏termsyn6x13r.icons.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 20K▕▏termsyn6x13r.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 20K▕▏termsyn6x13r2.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 19K▕▏termsyn7x12b.icons.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 19K▕▏termsyn7x12b.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 19K▕▏termsyn7x12b2.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 19K▕▏termsyn7x12r.icons.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 19K▕▏termsyn7x12r.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 19K▕▏termsyn7x12r2.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 21K▕▏termsyn7x14b.icons.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 21K▕▏termsyn7x14b.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 21K▕▏termsyn7x14b2.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 21K▕▏termsyn7x14r.icons.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 21K▕▏termsyn7x14r.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 21K▕▏termsyn7x14r2.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 157K▕▏termsynu6x11b.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 157K▕▏termsynu6x11r.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 160K▕▏termsynu6x13b.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 160K▕▏termsynu6x13r.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 158K▕▏termsynu7x12b.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 158K▕▏termsynu7x12r.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 161K▕▏termsynu7x14b.pcf
▕ -rw-r--r--▏root:root▕▏2 day ▕▏ 161K▕▏termsynu7x14r.pcf
did you also reboot (not only restart X)? I found xft is very particular about this, but dzen2 shouldn't be using it.
Yeah, multiple times...
Still no luck. This is so strange...
Last edited by senft (2013-12-23 10:27:30)
Offline
So vimperator also fails to find termsyn (while urxvt still finds it, if specified in .Xdefaults).
Does anyone have other ideas where to look for solutions?
Last edited by senft (2014-02-22 08:57:59)
Offline
Does anyone have other ideas where to look for solutions?
inside the font, i'd say.
you can try to rebuild it with fontforge, or try to reproduce the error with a different font...
or maybe the aur package is wrong?
try installing it "manually"?
as an aside, are you aware that termsyn is a hybrid of terminus and tamsyn?
i like both fonts, but never saw the need for the hybrid.
Offline
@senft, are you using the same wm on each computer? I would check for typos first. When you say you did a 'xset ...', I assume you put that in your .xinitrc, right? Maybe post the relevant parts of your configs after you double check everything.
@ondoho, hybrids get better mileage.. ymmv though
Last edited by stlarch (2014-02-24 06:38:14)
Offline
Sorry for the late reply, but I just figured it out! I had /etc/fonts/conf.avail/70-no-bitmaps.conf symlinked to /etc/fonts/conf.d. I don't really remember why I once did this, but removing 70-no-bitmaps.conf and symlinking 70-yes-bitmaps.conf sorted things out.
Thanks everyone for helping!
Last edited by senft (2014-04-15 15:22:27)
Offline