You are not logged in.
Pages: 1
I have recently been going through installed fonts and trying to strip out ones that are not useful to me. There had been a long list of fonts intended for foreign language support which I did not use making it difficult to see things I actually needed in programs like libreoffice.
Anyway, I tracked most of the remaining fonts I don't personally use to xorg-fonts-misc which looks to be required by xorg-server. Is there any way of determining what is actually necessary for xorg-server to function correctly and what things could be removed without breaking it?
If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet.
Niels Bohr
Offline
If you are not using any applications such as xterm or urxvt that require PCF bitmap fonts, I think you can safely "pacman -Rdd xorg-fonts-misc". But then none of the classic X apps like xfontsel etc. will work.
So maybe just remove the TTFs and OTFs from the package. Most modern apps cannot even display PCF fonts, so there is probably no harm in keeping them around.
Offline
OK. Yeah I don't really mind keeping the bitmap fonts. Mostly I just wanted to check that if I repackaged it without the TTFs and OTFs I wasn't going to end up causing breakage in XOrg. If it goes well I'll stick it on the AUR in case anyone else needs it.
If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet.
Niels Bohr
Offline
Here is my my modified PKGBUILD for xorg-fonts-misc:
pkgname=xorg-fonts-misc
pkgver=1.0.3
pkgrel=5
arch=(any)
url="https://xorg.freedesktop.org/releases/individual/font"
license=(custom)
depends=(fontconfig xorg-fonts-alias xorg-fonts-encodings xorg-font-utils)
makedepends=(xorg-bdftopcf xorg-font-util)
source=(font-isas-misc-1.0.3.tar.bz2 font-misc-misc-1.1.2.tar.bz2)
sha256sums=(5824ab4b485951107dd245b8f7717d2822f1a6dbf6cea98f1ac7f49905c0a867
b8e77940e4e1769dc47ef1805918d8c9be37c708735832a07204258bacc11794)
build() {
cd $srcdir
for dir in *; do
if [ -d $dir ]; then
pushd $dir
./configure \
--disable-dependency-tracking \
--with-fontdir=/usr/share/fonts/misc \
--prefix=/usr
make
popd
fi
done
}
package() {
cd $srcdir
for dir in *; do
if [ -d $dir ]; then
pushd $dir
make DESTDIR=$pkgdir install
popd
fi
done
find $pkgdir -type f ! \( \
-name "6x12-ISO8859-1.pcf.gz" -o \
-name "8x13-ISO8859-1.pcf.gz" -o \
-name "8x13B-ISO8859-1.pcf.gz" \) -delete
}
6x12 for dmenu and 8x13 for urxvt. Three PCF fonts. No more and no less. X throws warnings, but not errors...
Arch Linux + sway
Debian Testing + GNOME/sway
NetBSD 64-bit + Xfce
Offline
Pages: 1