You are not logged in.

#1 2024-04-03 18:36:23

admin
Member
Registered: 2022-04-28
Posts: 11

Does plasma-integration 6.0.3-1 specifically need noto-fonts?

I had been using Gnome with minimal fonts that I need. After switching the DE to Plasma 6, I noticed that tens of Noto fonts are installed, which makes it difficult to find the fonts I need. I tried uninstalling noto-fonts, but plasma-integration 6.0.3-1 ( https://archlinux.org/packages/extra/x8 … tegration/ ) is depending on it.

My question is, does plasma-integration 6.0.3-1 really specifically need noto-fonts? Can't it be some other packages like ttf-font? It seems that plasma5-integration ( https://archlinux.org/packages/extra/x8 … tegration/ ) did not have noto-fonts dependency, so it makes me wonder more if all these specific fonts are necessary.

Offline

#2 2024-04-03 22:22:34

seth
Member
Registered: 2012-09-03
Posts: 52,276

Re: Does plasma-integration 6.0.3-1 specifically need noto-fonts?

I use this to replace source code pro w/ the nerd variant and not have gsettings-desktop-schemas bug me about that

# Maintainer: me

pkgname="sourcesauce"
pkgver=1
pkgrel=0
pkgdesc="Dummy to replace source code pro w/ sauce code pro"
url=""
arch=("any")
license=('custom: public domain')
depends=("ttf-sourcecodepro-nerd")
provides=("adobe-source-code-pro-fonts")

package() {
    mkdir -p "${pkgdir}/etc/fonts/conf.d/"
    echo '<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
  <alias binding="same">
    <family>Source Code Pro</family>
    <accept>
      <family>SauceCodePro Nerd Font</family>
    </accept>
  </alias>
</fontconfig>' > "${pkgdir}/etc/fonts/conf.d/69-sourcesauce.conf"
    chmod 644 "${pkgdir}/etc/fonts/conf.d/69-sourcesauce.conf"
}

It installs a semi-dummy that
a) fulfills the dependency
b) makes sure SauceCode is actually installed
c) adds a fontconfiglet that resolces SourceCode Pro to SauceCodePro Nerd Font (in case anything, esp. my own config files…, references Source Code Pro

Feel free to adapt that, the idea that a specific font is dependency for anything is ridiculous.
It's only to get you the authentic KDE™ Plasma® brand© feels™®©


Edit, caveat:
nb. that plasma does use some emojis as GUI elements (there was a thread because Qt broke glyph substitution) so while you unlikely need a specific font, you need sufficient glyph coverage.

Last edited by seth (2024-04-03 22:55:47)

Offline

Board footer

Powered by FluxBB