You are not logged in.
Hello
I can't get bitmap fonts to work with urxtv (aka rxvt-unicode).
Here's output of fc-list : file -command
$ fc-list : file
Fontconfig warning: "/etc/fonts/conf.d/53-monospace-lcd-filter.conf", line 10: Having multiple values in <test> isn't supported and may not work as expected
/usr/share/fonts/TTF/DejaVuSerif-BoldItalic.ttf:
/usr/share/fonts/Type1/a010015l.pfb:
/usr/share/fonts/TTF/comic.ttf:
/usr/share/fonts/Type1/n019043l.pfb:
/usr/share/fonts/TTF/DejaVuSans-ExtraLight.ttf:
/usr/share/fonts/Type1/n019044l.pfb:
/usr/share/fonts/TTF/DroidSansArmenian.ttf:
/usr/share/fonts/TTF/times.ttf:
/usr/share/fonts/TTF/DroidSansEthiopic-Regular.ttf:
/usr/share/fonts/TTF/DejaVuSerif-Bold.ttf:
/usr/share/fonts/Type1/n022003l.pfb:
/usr/share/fonts/Type1/n022004l.pfb:
/usr/share/fonts/TTF/arial.ttf:
/usr/share/fonts/TTF/DroidSansHebrew-Regular.ttf:
/usr/share/fonts/Type1/n021023l.pfb:
/usr/share/fonts/Type1/n021024l.pfb:
/usr/share/fonts/TTF/ariblk.ttf:
/usr/share/fonts/Type1/n019023l.pfb:
/usr/share/fonts/TTF/DroidSansFallbackLegacy.ttf:
/usr/share/fonts/Type1/n022023l.pfb:
/usr/share/fonts/TTF/verdana.ttf:
/usr/share/fonts/Type1/n022024l.pfb:
/usr/share/fonts/Type1/n019024l.pfb:
/usr/share/fonts/TTF/TerminusBold.ttf:
/usr/share/fonts/cantarell/Cantarell-Bold.otf:
/usr/share/fonts/TTF/DejaVuSansCondensed.ttf:
/usr/share/fonts/TTF/timesi.ttf:
/usr/share/fonts/TTF/DroidKufi-Bold.ttf:
/usr/share/fonts/TTF/VeraMoBI.ttf:
/usr/share/fonts/TTF/DejaVuSansMono-BoldOblique.ttf:
/usr/share/fonts/TTF/DroidKufi-Regular.ttf:
/usr/share/fonts/Type1/n021003l.pfb:
/usr/share/fonts/Type1/n021004l.pfb:
/usr/share/fonts/TTF/andalemo.ttf:
/usr/share/fonts/TTF/DroidSansHebrew-Bold.ttf:
/usr/share/fonts/TTF/Ubuntu-B.ttf:
/usr/share/fonts/TTF/Ubuntu-R.ttf:
/usr/share/fonts/Type1/n019003l.pfb:
/usr/share/fonts/TTF/Ubuntu-C.ttf:
/usr/share/fonts/TTF/VeraMoBd.ttf:
/usr/share/fonts/TTF/TerminusMediumItalic.ttf:
/usr/share/fonts/TTF/DejaVuSerifCondensed-BoldItalic.ttf:
/usr/share/fonts/TTF/DejaVuSerif-Italic.ttf:
/usr/share/fonts/Type1/n019004l.pfb:
/usr/share/fonts/TTF/VeraMoIt.ttf:
/usr/share/fonts/TTF/DejaVuSansMono.ttf:
/usr/share/fonts/TTF/DroidSansGeorgian.ttf:
/usr/share/fonts/TTF/DroidSansEthiopic-Bold.ttf:
/usr/share/fonts/TTF/Ubuntu-L.ttf:
/usr/share/fonts/TTF/DroidSansJapanese.ttf:
/usr/share/fonts/TTF/TerminusMedium.ttf:
/usr/share/fonts/TTF/DejaVuSans-BoldOblique.ttf:
/usr/share/fonts/TTF/VeraMono.ttf:
/usr/share/fonts/TTF/DejaVuSansCondensed-Oblique.ttf:
/usr/share/fonts/TTF/DroidNaskh-Regular.ttf:
/usr/share/fonts/TTF/DejaVuSans.ttf:
/usr/share/fonts/TTF/cour.ttf:
/usr/share/fonts/TTF/georgia.ttf:
/usr/share/fonts/TTF/DejaVuSansCondensed-Bold.ttf:
/usr/share/fonts/TTF/VeraSe.ttf:
/usr/share/fonts/TTF/UbuntuMono-BI.ttf:
/usr/share/fonts/TTF/DroidSerif-BoldItalic.ttf:
/usr/share/fonts/Type1/c059036l.pfb:
/usr/share/fonts/TTF/VeraSeBd.ttf:
/usr/share/fonts/TTF/DroidSans-Bold.ttf:
/usr/share/fonts/Type1/c059033l.pfb:
/usr/share/fonts/TTF/Ubuntu-RI.ttf:
/usr/share/fonts/TTF/DejaVuSansMono-Oblique.ttf:
/usr/share/fonts/cantarell/Cantarell-Regular.otf:
/usr/share/fonts/TTF/VeraBI.ttf:
/usr/share/fonts/TTF/DroidSansTamil-Regular.ttf:
/usr/share/fonts/TTF/VeraIt.ttf:
/usr/share/fonts/TTF/DroidSerif-Regular.ttf:
/usr/share/fonts/TTF/DroidNaskh-Regular-SystemUI.ttf:
/usr/share/fonts/Type1/d050000l.pfb:
/usr/share/fonts/TTF/VeraBd.ttf:
/usr/share/fonts/TTF/DroidSans.ttf:
/usr/share/fonts/TTF/UbuntuMono-RI.ttf:
/usr/share/fonts/Type1/c059016l.pfb:
/usr/share/fonts/Type1/s050000l.pfb:
/usr/share/fonts/TTF/verdanai.ttf:
/usr/share/fonts/TTF/verdanaz.ttf:
/usr/share/fonts/Type1/c059013l.pfb:
/usr/share/fonts/TTF/Ubuntu-BI.ttf:
/usr/share/fonts/TTF/verdanab.ttf:
/usr/share/fonts/TTF/trebucit.ttf:
/usr/share/fonts/TTF/DejaVuSerifCondensed-Italic.ttf:
/usr/share/fonts/TTF/Ubuntu-LI.ttf:
/usr/share/fonts/TTF/DejaVuSans-Bold.ttf:
/usr/share/fonts/TTF/DejaVuSerif.ttf:
/usr/share/fonts/TTF/georgiai.ttf:
/usr/share/fonts/TTF/DejaVuSansMono-Bold.ttf:
/usr/share/fonts/TTF/DroidSansThai.ttf:
/usr/share/fonts/TTF/trebucbd.ttf:
/usr/share/fonts/TTF/DejaVuSerifCondensed.ttf:
/usr/share/fonts/TTF/couri.ttf:
/usr/share/fonts/TTF/georgiab.ttf:
/usr/share/fonts/Type1/b018032l.pfb:
/usr/share/fonts/TTF/DroidNaskh-Bold.ttf:
/usr/share/fonts/TTF/georgiaz.ttf:
/usr/share/fonts/TTF/timesbi.ttf:
/usr/share/fonts/TTF/arialbd.ttf:
/usr/share/fonts/Type1/b018035l.pfb:
/usr/share/fonts/TTF/UbuntuMono-B.ttf:
/usr/share/fonts/TTF/trebucbi.ttf:
/usr/share/fonts/TTF/UbuntuMono-R.ttf:
/usr/share/fonts/TTF/arialbi.ttf:
/usr/share/fonts/TTF/DroidSansArabic.ttf:
/usr/share/fonts/TTF/timesbd.ttf:
/usr/share/fonts/TTF/DroidSerif-Bold.ttf:
/usr/share/fonts/TTF/DroidSansDevanagari-Regular.ttf:
/usr/share/fonts/TTF/DejaVuSansCondensed-BoldOblique.ttf:
/usr/share/fonts/Type1/z003034l.pfb:
/usr/share/fonts/TTF/DroidSansFallback.ttf:
/usr/share/fonts/TTF/courbi.ttf:
/usr/share/fonts/TTF/comicbd.ttf:
/usr/share/fonts/Type1/b018012l.pfb:
/usr/share/fonts/Type1/p052004l.pfb:
/usr/share/fonts/TTF/DroidSerif-Italic.ttf:
/usr/share/fonts/TTF/webdings.ttf:
/usr/share/fonts/Type1/b018015l.pfb:
/usr/share/fonts/Type1/a010033l.pfb:
/usr/share/fonts/TTF/DroidSansTamil-Bold.ttf:
/usr/share/fonts/Type1/p052003l.pfb:
/usr/share/fonts/Type1/a010035l.pfb:
/usr/share/fonts/TTF/DejaVuSerifCondensed-Bold.ttf:
/usr/share/fonts/Type1/n019063l.pfb:
/usr/share/fonts/TTF/trebuc.ttf:
/usr/share/fonts/TTF/courbd.ttf:
/usr/share/fonts/Type1/n019064l.pfb:
/usr/share/fonts/TTF/Vera.ttf:
/usr/share/fonts/TTF/DroidSansMono.ttf:
/usr/share/fonts/Type1/p052024l.pfb:
/usr/share/fonts/TTF/impact.ttf:
/usr/share/fonts/TTF/ariali.ttf:
/usr/share/fonts/TTF/DejaVuSans-Oblique.ttf:
/usr/share/fonts/Type1/a010013l.pfb:
/usr/share/fonts/TTF/DroidSansFallbackFull.ttf:
/usr/share/fonts/Type1/p052023l.pfb: What I've read, there should be /usr/share/fonts/local/* too in that list.
I run my window manager, dwm with startx and ~/.xinitrc has these lines before dwm:
xset +fp /usr/share/fonts/local
xset fp rehashI have also tried to include those with xorg.conf:
$ cat /etc/X11/xorg.conf
Section "Files"
FontPath "/usr/share/fonts/local/"
EndSectionI'm using Ubuntu's patched versions of freetype, fontconfig and cairo if that has anything to do with my problem:
freetype2-ubuntu fontconfig-ubuntu cairo-ubuntuXft fonts work fine with urxvt, but bitmaps don't. What am I missing?
Last edited by NAND (2013-01-29 16:13:00)
Offline
Do bitmap fonts work in other programs? Make sure you don't have them disabled:
https://wiki.archlinux.org/index.php/Fo … tmap_fonts
Last edited by anonymous_user (2013-01-29 01:27:34)
Offline
Do bitmap fonts work in other programs? Make sure you don't have them disabled:
I did try
# cd /etc/fonts/conf.d
# rm 70-no-bitmaps.confNow bitmap fonts show up in GTK apps like xfce4-terminal, but with urxvt still no luck
(even restarted X)
Last edited by NAND (2013-01-29 02:19:43)
Offline
Post your .Xresources/.Xdefaults file.
Offline
I tried with OK100's conf (saved as ~/.Xdefaults)
https://github.com/ok100/configs/blob/m … Xresources
urxvt.font: -*-tamsynu-medium-*-*-*-14-*-*-*-*-*-*-*
urxvt.boldFont: -*-tamsynu-bold-*-*-*-14-*-*-*-*-*-*-*And I have tamsyn-font installed, tamsyn-font 1.9-1
Offline
Change urxvt to URxvt. I believe case is important.
Offline
nah, its not case sensitive.
$ urxvt
urxvt: unable to load base fontset, please specify a valid one using -fn, aborting.Offline
Are you sure the font declaration is correct? FWIW heres my settings for the terminus font:
URxvt.font: -*-terminus-medium-*-12-*Offline
There isn't a "tamsynu" family in the tamsyn-font package. You're trying to use a font that doesn't exist on your machine.
$ xlsfonts -fn "-*-tamsynu-*"
xlsfonts: pattern "-*-tamsynu-*" unmatched
$ xlsfonts -fn "-*-tamsyn-*"
-misc-tamsyn-bold-r-normal--0-0-100-100-c-0-iso8859-1
-misc-tamsyn-bold-r-normal--12-87-100-100-c-60-iso8859-1
<< And more >>The syntax for the resource is fine, but it is case-sensitive. The class is 'URxvt', an instance would be 'urxvt'.
This should be good for a first attempt at the proper size:
urxvt.font: -misc-tamsyn-medium-r-normal--14-101-100-100-c-70-iso8859-1
urxvt.boldFont: -misc-tamsyn-bold-r-normal--14-101-100-100-c-70-iso8859-1That's about equal to DejaVu Sans Mono at 8 points.
If you have rebuilt your font cache, either by restarting X or running 'fc-cache -f', and you want to use Xft, then this is equivalent (Tamsyn does not use anti-aliasing):
urxvt.font: xft:Tamsyn:style=Regular:size=10.1
urxvt.boldFont: xft:Tamsyn:style=Bold:size=10.1Offline
Ah, Thank you guys!
Got it working with that
urxvt.font: -misc-tamsyn-medium-r-normal--14-101-100-100-c-70-iso8859-1
urxvt.boldFont: -misc-tamsyn-bold-r-normal--14-101-100-100-c-70-iso8859-1Case closed ![]()
Offline