Il giorno lun 28 lug 2025 alle 17:53:47 +00:00:00, Werner LEMBERG <w...@gnu.org> ha scritto:

 A solution to this particular problem is now easy: Replace
 `NotoSerifCJK-VF.otf.ttc` with the fully equivalent (but slightly
 larger) file `NotoSerifCJK-VF.ttf.ttc`, which can be found here:
https://github.com/notofonts/noto-cjk/blob/main/Serif/Variable/OTC/NotoSerifCJK-VF.ttf.ttc

 I don't want to touch a file provided by a distro package.

OK.  Then I suggest to manually filter out this font in a local
FontConfig configuration file.  For example, append the following to
file `~/.fonts.conf` (or `~/.config/fontconfig/fonts.conf`) right
before the closing `</fontconfig>` tag:

```xml
  <selectfont>
     <rejectfont>
<glob>/usr/share/fonts/google-noto-serif-cjk-vf-fonts/NotoSerifCJK-VF.ttc</glob>
    </rejectfont>
  </selectfont>
```

If the file doesn't exist, create it with the following contents
instead:

```xml
<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <selectfont>
     <rejectfont>
<glob>/usr/share/fonts/google-noto-serif-cjk-vf-fonts/NotoSerifCJK-VF.ttc</glob>
    </rejectfont>
  </selectfont>
</fontconfig>
```



Thank you. Eventually I decided to remove the package, as no package depended on it.

Then I got the same error on other fonts: NotoSansMonoCJKjp-Regular and maybe another one.

So, to summarize, I removed these packages:

google-noto-serif-cjk-vf-fonts
google-noto-sans-cjk-vf-fonts
google-noto-sans-mono-cjk-vf-fonts

Doc built, I can now work on the doc patch.



Reply via email to