You are not logged in.
Pages: 1
I'm not sure if the documentation, but there is no /usr/share/fonts or /usr/share/fonts.avail on my Arch Linux installation. I've got some TrueType files that I extracted from Mac OS X's Helvetica.dfont (it's purty), so I've got no installation packaging meaning I can only install these files manually. Is there a new location to install these to? And once they're there are they immediately loaded or do I need to reset my profile or something?
Offline
You can easily write a PKGBUILD, or copy one from the AUR, to have pacman manage the installation...
Offline
You can easily write a PKGBUILD, or copy one from the AUR, to have pacman manage the installation...
Okay, but I don't know if /usr/share/fonts is where I ought to be installing fonts to. That's what I'm unclear about.
Offline
Yes it is*. You'd see this in the examples from the AUR.
EDIT: * a subsdir of /usr/share/fonts at least, e.g., /usr/share/fonts/TTF/ for true type fonts.
Last edited by Trilby (2014-11-10 19:59:16)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Please read the wiki "fonts" topic: https://wiki.archlinux.org/index.php/Fonts
If you only want the fonts available for your user (not systemwide), you can put them in ~/.local/share/fonts.
Offline
Yes it is*. You'd see this in the examples from the AUR.
EDIT: * a subsdir of /usr/share/fonts at least, e.g., /usr/share/fonts/TTF/ for true type fonts.
I know that that is the directory given in the examples, but it doesn't exist in the distribution. That looks like an inconsistency or one that should at least be explained to be normal.
Offline
I know that that is the directory given in the examples, but it doesn't exist in the distribution.
What? You mean you really don't have a /usr/share/fonts directory? I do, in my unmodified Arch install. Something appears to be broken in your install if you do not have this directory.
(edit) I'm wrong.
Last edited by 2ManyDogs (2014-11-12 01:05:05)
Offline
Melab wrote:I know that that is the directory given in the examples, but it doesn't exist in the distribution.
What? You mean you don't have a /usr/share/fonts directory? I do, in my unmodified Arch install.
I'm not sure what you mean by unmodified - but that directory is not part of a base install:
$ pacman -Qo /usr/share/fonts
/usr/share/fonts is owned by terminus-font 4.39-1
/usr/share/fonts is owned by ttf-dejavu 2.34-1
/usr/share/fonts is owned by ttf-droid 20121017-3
/usr/share/fonts is owned by ttf-ms-fonts 2.0-10
/usr/share/fonts is owned by xorg-font-util 1.3.0-2
/usr/share/fonts is owned by xorg-fonts-100dpi 1.0.1-5
/usr/share/fonts is owned by xorg-fonts-alias 1.0.3-1
/usr/share/fonts is owned by xorg-fonts-encodings 1.0.4-4
/usr/share/fonts is owned by xorg-fonts-misc 1.0.1-3
None of these packages are part of the base group, nor or any of them (strictly) necessary for running X11.
But I don't know how this leads to the conclusion of an inconsistency. That directory is consistent: that's where fonts go. If every path had to exist before you installed anything that would reside in it ... well, I can't even come up with a suitably silly simily - but that'd be crazy.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Well call me wrong then (because I'm wrong).
Offline
2ManyDogs wrote:Melab wrote:I know that that is the directory given in the examples, but it doesn't exist in the distribution.
What? You mean you don't have a /usr/share/fonts directory? I do, in my unmodified Arch install.
I'm not sure what you mean by unmodified - but that directory is not part of a base install:
$ pacman -Qo /usr/share/fonts /usr/share/fonts is owned by terminus-font 4.39-1 /usr/share/fonts is owned by ttf-dejavu 2.34-1 /usr/share/fonts is owned by ttf-droid 20121017-3 /usr/share/fonts is owned by ttf-ms-fonts 2.0-10 /usr/share/fonts is owned by xorg-font-util 1.3.0-2 /usr/share/fonts is owned by xorg-fonts-100dpi 1.0.1-5 /usr/share/fonts is owned by xorg-fonts-alias 1.0.3-1 /usr/share/fonts is owned by xorg-fonts-encodings 1.0.4-4 /usr/share/fonts is owned by xorg-fonts-misc 1.0.1-3
None of these packages are part of the base group, nor or any of them (strictly) necessary for running X11.
But I don't know how this leads to the conclusion of an inconsistency. That directory is consistent: that's where fonts go. If every path had to exist before you installed anything that would reside in it ... well, I can't even come up with a suitably silly simily - but that'd be crazy.
So if I just copy my files there, then will the system be able to see them? Is there any particular naming convention I should follow (I like to keep my systems as conventional as possible)?
Offline
$ fc-cache -vf
fc-cache: command not found
$ sudo pacman -S fc-cache
error: target not found: fc-cache
Offline
There is pkgfile utility for such things:
$ pkgfile fc-cache
extra/fontconfig
Offline
And when you install fontconfig, guess what directory it will create.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
And when you install fontconfig, guess what directory it will create.
Oh, the name of the package is "fontconfig"?
ETA: This is getting even more confusing. Fonts are installed in
/usr/share/fonts
but they aren't available to the console for use?
Last edited by Melab (2014-11-14 19:11:50)
Offline
Console fonts are different: https://wiki.archlinux.org/index.php/Co … sole_fonts
Offline
Console fonts are a different beast entirely... https://wiki.archlinux.org/index.php/Co … sole_fonts ... the wiki (quite possibly the best of it's kind) is your friend
*** sniped again! ***
Last edited by satanselbow (2014-11-14 19:35:31)
Offline
Pages: 1