Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Trouble setting custom fontpath
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
moisespedro
n00b
n00b


Joined: 01 Jan 2014
Posts: 71

PostPosted: Mon May 05, 2014 3:31 pm    Post subject: [solved] Trouble setting custom fontpath Reply with quote

Hi, I am trying to use terminus as my font on urxvt but I am having trouble setting up custom font paths.

My xorg.conf.d file
Code:
pedro@gentoo ~ $ cat /usr/share/X11/xorg.conf.d/10-fonts
# Let X.Org know about the custom font directories
Section "Files"
    FontPath    "/usr/share/fonts/75dpi:unscaled"
    FontPath    "/usr/share/fonts/100dpi:unscaled"
    FontPath    "/usr/share/fonts/BASE"
    FontPath    "/usr/share/fonts/cyrillic"
    FontPath    "/usr/share/fonts/EAST_ASIA"
    FontPath    "/usr/share/fonts/encodings"
    FontPath    "/usr/share/fonts/dejavu"
    FontPath    "/usr/share/fonts/MIDDLE_ASIA"
    FontPath    "/usr/share/fonts/misc:unscaled"
    FontPath    "/usr/share/fonts/OTF"
    FontPath    "/usr/share/fonts/Speedo"
    FontPath    "/usr/share/fonts/TERMINUS"
    FontPath    "/usr/share/fonts/TTF"
    FontPath    "/usr/share/fonts/Type1"
    FontPath    "/usr/share/fonts/urw-fonts
    FontPath    "/usr/share/fonts/util"
EndSection


Code:
pedro@gentoo ~ $  fc-list : file | grep terminus
/usr/share/fonts/terminus/ter-116n.pcf.gz:
/usr/share/fonts/terminus/ter-114n.pcf.gz:
/usr/share/fonts/terminus/ter-124n.pcf.gz:
/usr/share/fonts/terminus/ter-x16n.pcf.gz:
/usr/share/fonts/terminus/ter-112n.pcf.gz:
/usr/share/fonts/terminus/ter-122n.pcf.gz:
/usr/share/fonts/terminus/ter-x14n.pcf.gz:
/usr/share/fonts/terminus/ter-x24n.pcf.gz:
/usr/share/fonts/terminus/ter-132n.pcf.gz:
/usr/share/fonts/terminus/ter-118n.pcf.gz:
/usr/share/fonts/terminus/ter-120n.pcf.gz:
/usr/share/fonts/terminus/ter-x12n.pcf.gz:
/usr/share/fonts/terminus/ter-x22n.pcf.gz:
/usr/share/fonts/terminus/ter-128n.pcf.gz:
/usr/share/fonts/terminus/ter-x32n.pcf.gz:
/usr/share/fonts/terminus/ter-x18n.pcf.gz:
/usr/share/fonts/terminus/ter-x20n.pcf.gz:
/usr/share/fonts/terminus/ter-x28n.pcf.gz:
/usr/share/fonts/terminus/ter-116b.pcf.gz:
/usr/share/fonts/terminus/ter-114b.pcf.gz:
/usr/share/fonts/terminus/ter-124b.pcf.gz:
/usr/share/fonts/terminus/ter-x16b.pcf.gz:
/usr/share/fonts/terminus/ter-112b.pcf.gz:
/usr/share/fonts/terminus/ter-122b.pcf.gz:
/usr/share/fonts/terminus/ter-x14b.pcf.gz:
/usr/share/fonts/terminus/ter-x24b.pcf.gz:
/usr/share/fonts/terminus/ter-132b.pcf.gz:
/usr/share/fonts/terminus/ter-118b.pcf.gz:
/usr/share/fonts/terminus/ter-120b.pcf.gz:
/usr/share/fonts/terminus/ter-x12b.pcf.gz:
/usr/share/fonts/terminus/ter-x22b.pcf.gz:
/usr/share/fonts/terminus/ter-128b.pcf.gz:
/usr/share/fonts/terminus/ter-x32b.pcf.gz:
/usr/share/fonts/terminus/ter-x18b.pcf.gz:
/usr/share/fonts/terminus/ter-x20b.pcf.gz:
/usr/share/fonts/terminus/ter-x28b.pcf.gz:


"xset q" output:
Code:
Font Path:
  /usr/share/fonts/misc/,built-ins


Why isn't it working? To use the font I have to run "xset +fp /usr/share/fonts/terminus" manually and that sucks.


Last edited by moisespedro on Mon May 05, 2014 9:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 3690
Location: Dallas area

PostPosted: Mon May 05, 2014 4:32 pm    Post subject: Re: Trouble setting custom fontpath Reply with quote

moisespedro wrote:
Code:
    FontPath    "/usr/share/fonts/TERMINUS"



Why isn't it working? To use the font I have to run "xset +fp /usr/share/fonts/terminus" manually and that sucks.


Try
Code:
    FontPath        "/usr/share/fonts/terminus"


This is how they show up on my system
Code:
l /usr/share/fonts
100dpi
75dpi
corefonts
cyrillic
dejavu
encodings
freefont
indic
misc
OTF
Speedo
terminus
TTF
ttf-bitstream-vera
Type1
unifont
urw-fonts
util

_________________
Asus m5a99fx, FX 8320 - nouveau & radeon, oss4
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
4.14.62 kernel, profile 17.0 (no-pie) amd64-no-multilib
gcc 7.3.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
moisespedro
n00b
n00b


Joined: 01 Jan 2014
Posts: 71

PostPosted: Mon May 05, 2014 4:39 pm    Post subject: Reply with quote

That doesn't solve the issue, why aren't the other folders showing up? And actually I have two terminus directories.

Code:
pedro@gentoo ~ $ ls -lh /usr/share/fonts/
total 4,0K
drwxr-xr-x 1 root root   22 Mai  4 13:54 100dpi
drwxr-xr-x 1 root root   22 Mai  4 13:54 75dpi
drwxr-xr-x 1 root root 3,1K Mai  2 15:32 BASE
drwxr-xr-x 1 root root   22 Mai  4 13:54 cyrillic
drwxr-xr-x 1 root root 1,1K Mai  4 13:54 dejavu
drwxr-xr-x 1 root root  152 Mai  2 15:32 EAST_ASIA
drwxr-xr-x 1 root root 1,3K Mai  4 13:54 encodings
drwxr-xr-x 1 root root  692 Mai  4 13:55 liberation-fonts
drwxr-xr-x 1 root root 1,3K Mai  4 21:07 libertine-ttf
drwxr-xr-x 1 root root  232 Mai  2 15:32 MIDDLE_ASIA
drwxr-xr-x 1 root root  14K Mai  4 13:55 misc
-rw-r--r-- 1 root root  708 Mai  2 15:18 README.txt
drwxr-xr-x 1 root root 7,0K Mai  4 13:56 terminus
drwxr-xr-x 1 root root  424 Mai  2 15:33 TERMINUS
drwxr-xr-x 1 root root 1,8K Mai  4 13:55 termsyn
drwxr-xr-x 1 root root 2,6K Mai  4 13:54 urw-fonts
drwxr-xr-x 1 root root  460 Mai  4 13:16 util
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 3690
Location: Dallas area

PostPosted: Mon May 05, 2014 5:20 pm    Post subject: Re: Trouble setting custom fontpath Reply with quote

moisespedro wrote:
Hi, I am trying to use terminus as my font on urxvt but I am having trouble setting up custom font paths.

My xorg.conf.d file
Code:
pedro@gentoo ~ $ cat /usr/share/X11/xorg.conf.d/10-fonts


Quote:
That doesn't solve the issue, why aren't the other folders showing up?


From the man page

Quote:
Xorg uses a configuration file called xorg.conf and files ending in the suffix .conf from the directory xorg.conf.d for its initial setup

_________________
Asus m5a99fx, FX 8320 - nouveau & radeon, oss4
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
4.14.62 kernel, profile 17.0 (no-pie) amd64-no-multilib
gcc 7.3.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
moisespedro
n00b
n00b


Joined: 01 Jan 2014
Posts: 71

PostPosted: Mon May 05, 2014 9:11 pm    Post subject: Reply with quote

I always miss something :oops:

It works now
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