You are not logged in.

#1 Yesterday 11:25:29

dan123
Member
Registered: 2025-05-30
Posts: 27

[SOLVED] How to move Noto Fonts to bottom of font selectors?

I know it's possible to prevent Noto Fonts from being brought in to font selectors by using <rejectfont>, but this breaks full Unicode compatibility.

Is there a way to make it so that Noto Fonts appear last in font selection dialogues?

There's over 240 Noto Fonts and they get in the way.

Last edited by dan123 (Yesterday 21:19:35)

Offline

#2 Yesterday 18:24:34

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,365

Re: [SOLVED] How to move Noto Fonts to bottom of font selectors?

https://wiki.archlinux.org/title/Font_c … ting_fonts
<rejectfont> has nothing to do w/ GUI dialogs (hence "breaks full Unicode compatibility")

I suspect this is from https://archlinux.org/packages/extra/an … nts-extra/ ?
Do you actually need *all* of them?

Offline

#3 Yesterday 20:22:18

dan123
Member
Registered: 2025-05-30
Posts: 27

Re: [SOLVED] How to move Noto Fonts to bottom of font selectors?

I don't have noto-fonts-extra or noto-fonts-cjk installed anymore. They're all from noto-fonts.

Best workaround I could think of was to deny fonts (and therefore languages) I don't know anyway.

I've also installed ttf-vlgothic to get support for Japanese without the bloat of noto-fonts-cjk. Results no more than 15 languages displaying correctly when looking at language names on Wikipedia without anywhere near as much download or install size.

Offline

#4 Yesterday 21:18:43

dan123
Member
Registered: 2025-05-30
Posts: 27

Re: [SOLVED] How to move Noto Fonts to bottom of font selectors?

This made my list of fonts go down from 274 to 56 (at the cost of less character support):

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <!-- based on based on https://unix.stackexchange.com/questions/534284/reject-all-fonts-from-a-directory-except-one-with-fontconfig -->
  <selectfont>
    <rejectfont>
      <glob>/usr/share/fonts/noto/NotoFangsong*</glob>
      <glob>/usr/share/fonts/noto/NotoKufi*</glob>
      <glob>/usr/share/fonts/noto/NotoNaskh*</glob>
      <glob>/usr/share/fonts/noto/NotoNastaliq*</glob>
      <glob>/usr/share/fonts/noto/NotoRashi*</glob>
      <glob>/usr/share/fonts/noto/NotoSans*</glob>
      <glob>/usr/share/fonts/noto/NotoSerif*</glob>
      <glob>/usr/share/fonts/noto/NotoTraditionalNushu*</glob>
      <glob>/usr/share/fonts/noto/NotoZnamennyMusicalNotation-Regular.ttf</glob>
    </rejectfont>
    <acceptfont>
      <glob>/usr/share/fonts/noto/NotoSans-*</glob>
      <glob>/usr/share/fonts/noto/NotoSansMono*</glob>
      <glob>/usr/share/fonts/noto/NotoSansSymbols*</glob>
      <glob>/usr/share/fonts/noto/NotoSerif-*</glob>
      <glob>/usr/share/fonts/noto/NotoSerifDisplay*</glob>
      <glob>/usr/share/fonts/noto/NotoSansMath-Regular.ttf</glob>
    </acceptfont>
  </selectfont>
</fontconfig>

Last edited by dan123 (Yesterday 21:26:21)

Offline

#5 Yesterday 22:54:26

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,365

Re: [SOLVED] How to move Noto Fonts to bottom of font selectors?

Looks like Noto seeks to cover the entire UTF-8 spectrum but keep memory pressure low by splitting this into font (files) which individually also all cover ascii (so that cannot be used as filter)
You can also use NoExtract in pacman.conf to limit the installed fonts on disk but wrt original question I'm afraid the only sane way to deal with this would be different font dialog that sort the fonts in trees rather than in lists.

Offline

Board footer

Powered by FluxBB