Fonts
關於 fc-cache 輸出的問題
當我執行命令
sudo fc-cache -rv
時,有幾個目錄,其中的輸出行是這樣的:
/usr/share/fonts/<directory>: skipping, looped directory detected
這意味著什麼?我該如何解決?
您可以放心地忽略輸出。如果您查看整個輸出。您可以看到錯誤消息中提到的目錄多次存在。當它說“循環”時,您可以將其視為“重複”的含義。
/usr/share/fonts: caching, new cache contents: 0 fonts, 3 dirs /usr/share/fonts/ChineseFonts: caching, new cache contents: 73 fonts, 0 dirs /usr/share/fonts/X11: caching, new cache contents: 0 fonts, 3 dirs /usr/share/fonts/X11/encodings: caching, new cache contents: 0 fonts, 1 dirs /usr/share/fonts/X11/encodings/large: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/X11/misc: caching, new cache contents: 89 fonts, 0 dirs /usr/share/fonts/X11/util: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/truetype: caching, new cache contents: 0 fonts, 4 dirs /usr/share/fonts/truetype/custom: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/truetype/dejavu: caching, new cache contents: 6 fonts, 0 dirs /usr/share/fonts/truetype/liberation: caching, new cache contents: 16 fonts, 0 dirs /usr/share/fonts/truetype/msttcorefonts: caching, new cache contents: 60 fonts, 0 dirs /usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs /root/.local/share/fonts: skipping, no such directory /root/.fonts: skipping, no such directory /usr/share/fonts/ChineseFonts: skipping, looped directory detected /usr/share/fonts/X11: skipping, looped directory detected /usr/share/fonts/truetype: skipping, looped directory detected /usr/share/fonts/X11/encodings: skipping, looped directory detected /usr/share/fonts/X11/misc: skipping, looped directory detected /usr/share/fonts/X11/util: skipping, looped directory detected /usr/share/fonts/truetype/custom: skipping, looped directory detected /usr/share/fonts/truetype/dejavu: skipping, looped directory detected /usr/share/fonts/truetype/liberation: skipping, looped directory detected /usr/share/fonts/truetype/msttcorefonts: skipping, looped directory detected /usr/share/fonts/X11/encodings/large: skipping, looped directory detected /var/cache/fontconfig: cleaning cache directory /root/.cache/fontconfig: not cleaning non-existent cache directory /root/.fontconfig: not cleaning non-existent cache directory