LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Urxvt how to set "input" fonts (https://www.linuxquestions.org/questions/linux-software-2/urxvt-how-to-set-input-fonts-4175632835/)

drudox 06-28-2018 09:20 AM

Urxvt how to set "input" fonts
 
Hi all
I 'm using I3 WM with urxvt as terminal, yesterday I found this very nice fonts named input : I tried to set in my .Xresources in this way :

Code:

URxvt.font:                      xft:Input Mono Compressed Light Extra-Condensed:size=12
the complete name works fine if I put it in my .vimrc .. could somebody please help me about ?

scasey 06-28-2018 12:24 PM

from man 1 urxft:
Code:

-fn fontlist
    Select the fonts to be used. This is a comma separated list of font names that are checked in order when trying to find glyphs for characters. The first font defines the cell size for characters; other fonts might be smaller, but not (in general) larger. A (hopefully) reasonable default font list is always appended to it. See resource font for more details.

    In short, to specify an X11 core font, just specify its name or prefix it with "x:". To specify an XFT-font, you need to prefix it with "xft:", e.g.:

    urxvt -fn "xft:Bitstream Vera Sans Mono:pixelsize=15"
    urxvt -fn "9x15bold,xft:Bitstream Vera Sans Mono"

    See also the question "How does rxvt-unicode choose fonts?" in the FAQ section of urxvt(7).


drudox 06-28-2018 12:29 PM

thanks a lot for replay where is the FAQ ?

scasey 06-28-2018 12:37 PM

Quote:

Originally Posted by drudox (Post 5873091)
thanks a lot for replay where is the FAQ ?

Um...
Code:

man 1 urxft
on your computer, or search for that on the web.

drudox 06-28-2018 01:39 PM

Oh ... I'm a stupid :""D

ondoho 06-29-2018 07:44 AM

Quote:

Originally Posted by drudox (Post 5872974)
Hi all
I 'm using I3 WM with urxvt as terminal, yesterday I found this very nice fonts named input : I tried to set in my .Xresources in this way :

Code:

URxvt.font:                      xft:Input Mono Compressed Light Extra-Condensed:size=12
the complete name works fine if I put it in my .vimrc .. could somebody please help me about ?

try some permutations, e.g.:
Code:

URxvt.font:                      xft:Input Mono:style=compressed:size=12
URxvt.font:                      xft:Input Mono Compressed Light:style=extra-condensed:size=12

etc.

drudox 06-29-2018 07:50 AM

Quote:

Originally Posted by ondoho (Post 5873438)
try some permutations, e.g.:
Code:

URxvt.font:                      xft:Input Mono:style=compressed:size=12
URxvt.font:                      xft:Input Mono Compressed Light:style=extra-condensed:size=12

etc.

thanks ondoho! but I solved using this :

Code:

URxvt.font: xft:Input Mono Compressed Light:pixelsize=18
And is very very nice IMHO :) try it .. I find it great

ondoho 06-29-2018 08:10 AM

please mark your thread SOLVED.

always interested in nice fonts. where'd you get it from?

drudox 06-29-2018 08:24 AM

from here :

http://input.fontbureau.com/download/ do know some nice programming / shell fonts ?

ondoho 06-29-2018 09:17 AM

thanks.
i'm very fond of terminus.


All times are GMT -5. The time now is 08:31 PM.