Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
user supplied font with urxvt
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Tue Oct 09, 2012 6:29 pm    Post subject: user supplied font with urxvt Reply with quote

Hi,

my main terminal emulator font is terminus. Unfortunately it lacks quite a lot of characters, so I searched for an addition and found code200[012].
I copied the .ttf files to ~/.fonts.
Code:
$ fc-list | grep -i code
/home/ahuemer/.fonts/CODE2002.TTF: Code2002:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normalan,Normálne,Navadno,thường,Arrunta
/home/ahuemer/.fonts/CODE2000.TTF: Code2000:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normalan,Normálne,Navadno,thường,Arrunta
/home/ahuemer/.fonts/CODE2001.TTF: Code2001:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normalan,Normálne,Navadno,thường,Arrunta

Then I tried to run urxvt with just code2000 as normal font but didn't succeed.
Code:
$ urxvt -fn "xft:Code2000"
urxvt: unable to load base fontset, please specify a valid one using -fn, aborting.

Unfortunately I have no idea what I could try.
Any hints welcome.
Thanks in advance.
Back to top
View user's profile Send private message
ribx
Apprentice
Apprentice


Joined: 20 Nov 2003
Posts: 219
Location: germany

PostPosted: Fri Oct 19, 2012 1:05 am    Post subject: Reply with quote

what kind of letters are you missing? because I have the same problems, and I think its not the font, but urxvt!

I have tried these fonts:

Code:
 % cat .Xdefaults
URxvt*background:          #000
URxvt*foreground:         #f2f2f2
URxvt*fading:            30
URxvt*scrollColor:         gray30
URxvt*troughColor:         gray0
URxvt*saveLines:         3000
URxvt*cursorBlink:         true
URxvt*scrollstyle:         plain
URxvt*scrollTtyOutput:         false
URxvt*scrollWithBuffer:         true
URxvt*scrollTtyKeypress:      true
URxvt*visualBell:         false
URxvt*mapAlert:            true
#URxvt*font:            xft:Fixed:pixelsize=14:rgba=vrgb:antialias=true
#URxvt*font:         xft:Bitstream Vera Sans Mono:rgba=vrgb:antialias=true:pixelsize=15
#URxvt*font:         xft:Lomonosov V:pixelsize=12
#URxvt*font:         xft:Luxi Mono:pixelsize=12
URxvt*font:         xft:DejaVu Sans Mono:style=Book:pixelsize=15:antialias=true:rgba=vrgb
#URxvt*font:         -misc-fixed-*-*-*-*-14-*-*-*-*-*-*-*


currently I am using "Fixed" and I cannot imagine, that Fixed does not even has German umlauts.

for the record:
Code:
 % eix rxvt-uni 
[I] x11-terms/rxvt-unicode
     Available versions:  9.15 ~9.15-r1 {{256-color afterimage alt-font-width blink buffer-on-clear fading-colors +focused-urgency +font-styles iso14755 +mousewheel +perl pixbuf secondary-wheel startup-notification unicode3 +vanilla wcwidth xft}}
     Installed versions:  9.15(15:26:45 06/05/12)(focused-urgency font-styles iso14755 mousewheel perl startup-notification vanilla xft -256-color -afterimage -alt-font-width -blink -buffer-on-clear -fading-colors -pixbuf -secondary-wheel -unicode3 -wcwidth)
     Homepage:            http://software.schmorp.de/pkg/rxvt-unicode.html
     Description:         rxvt clone with xft and unicode support

_________________
The adopt an unanswered post initiative
Back to top
View user's profile Send private message
ribx
Apprentice
Apprentice


Joined: 20 Nov 2003
Posts: 219
Location: germany

PostPosted: Fri Oct 19, 2012 1:11 am    Post subject: Reply with quote

check out:

Code:
 LC_ALL=en_US.utf8 urxvt


works for me. I guess I have to check my language settings.
_________________
The adopt an unanswered post initiative
Back to top
View user's profile Send private message
Leo Laursen
n00b
n00b


Joined: 29 Mar 2012
Posts: 38

PostPosted: Fri Oct 19, 2012 7:16 am    Post subject: Reply with quote

ribx wrote:
Code:
 LC_ALL=en_US.utf8 urxvt

works for me. I guess I have to check my language settings.

I had a similar problem with the locale en_DK, which wasn't supported by libX11,
see How to get Danish keyboard with en_DK locale [solved]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum