Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
adding fonts ? [slvd]
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
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1386
Location: Tri-Cities, WA USA

PostPosted: Sun Nov 03, 2024 4:03 pm    Post subject: adding fonts ? [slvd] Reply with quote

I am trying to add ttf fonts to my system.
I'm using inkscape to create some designs.
The fonts do not show up.

eselect fontconfig list does not show the fonts.

I've look at this guide: https://wiki.gentoo.org/wiki/Fonts
and
https://wiki.gentoo.org/wiki/Fontconfig

Please throw me a bone.

I manually place them in ~/.local/share/fonts/

Code:

/.local/share/fonts $ ll
total 692
-rw-r--r-- 1 cwc cwc 155476 Nov  3 07:45 CursiveSans-Bold.ttf
-rw-r--r-- 1 cwc cwc 159376 Nov  3 07:45 CursiveSans-Book.ttf
-rw-r--r-- 1 cwc cwc 168808 Nov  3 07:45 CursiveSerif-Bold.ttf
-rw-r--r-- 1 cwc cwc 172564 Nov  3 07:45 CursiveSerif-Book.ttf
-rw-r--r-- 1 cwc cwc  43440 Nov  3 07:46 Karla_BoldStencil.ttf



and
/usr/share/fonts

Code:

/usr/share/fonts # ll
total 784
drwxr-xr-x 2 root root   4096 Jun  8  2023 100dpi
drwxr-xr-x 2 root root   4096 Jun  8  2023 75dpi
drwxr-xr-x 2 root root   4096 Nov  3 07:44 corefonts
drwxr-xr-x 2 root root   4096 Aug 22  2022 croscorefonts
-rw-r--r-- 1 root root 155476 Nov  3 07:50 CursiveSans-Bold.ttf
-rw-r--r-- 1 root root 159376 Nov  3 07:50 CursiveSans-Book.ttf
-rw-r--r-- 1 root root 168808 Nov  3 07:50 CursiveSerif-Bold.ttf
-rw-r--r-- 1 root root 172564 Nov  3 07:50 CursiveSerif-Book.ttf
drwxr-xr-x 2 root root   4096 Jun  8  2023 cyrillic
drwxr-xr-x 2 root root   4096 Aug 19  2022 dejavu
drwxr-xr-x 3 root root   4096 Apr  3  2024 encodings
-rw-r--r-- 1 root root  43440 Nov  3 07:50 Karla_BoldStencil.ttf
drwxr-xr-x 2 root root   4096 Oct 11  2022 liberation-fonts
drwxr-xr-x 2 root root  45056 Mar 26  2024 misc
drwxr-xr-x 2 root root  12288 Oct 28  2023 urw-fonts
drwxr-xr-x 2 root root   4096 Oct 15  2023 util


_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1386
Location: Tri-Cities, WA USA

PostPosted: Sun Nov 03, 2024 7:36 pm    Post subject: Reply with quote

rebooted (duh)

kept custom fonts in ~/.local/share/fonts/
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
flexibeast
Guru
Guru


Joined: 04 Apr 2022
Posts: 458
Location: Naarm/Melbourne, Australia

PostPosted: Sun Nov 03, 2024 11:13 pm    Post subject: Reply with quote

Probably all that was necessary was to run fc-cache(1), as described on the Fontconfig page:

Quote:
If a particular font is known to be installed in one of the paths configured for use by Fontconfig, but doesn't appear in the output of fc-list(1), it might be that the Fontconfig cache needs to be refreshed, which can be done by running fc-cache(1):
Code:
user $ fc-cache -fv

But i'll also add information about using fc-cache(1) to the main Fonts page.
_________________
https://wiki.gentoo.org/wiki/User:Flexibeast
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1386
Location: Tri-Cities, WA USA

PostPosted: Tue Nov 05, 2024 1:52 pm    Post subject: Reply with quote

flexibeast wrote:
Probably all that was necessary was to run fc-cache(1), as described on the Fontconfig page:

Quote:
If a particular font is known to be installed in one of the paths configured for use by Fontconfig, but doesn't appear in the output of fc-list(1), it might be that the Fontconfig cache needs to be refreshed, which can be done by running fc-cache(1):
Code:
user $ fc-cache -fv

But i'll also add information about using fc-cache(1) to the main Fonts page.


thank you!
_________________
Without diversity there can be no evolution:)
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