
Latex 2013(소규모 설치)을 설치했습니다.산다음 명령을 사용하여 알파인 글꼴 목록을 표시하려고 하면 docker에서 실행합니다.
/usr/share/fonts/IBM_Plex_Serif # fc-list
출력이 비어 있습니다. 글꼴이 xelatex에 적합한지 어떻게 알 수 있나요? xelatex가 시스템 글꼴을 로드하도록 하려면 어떻게 해야 합니까? 이 명령을 사용하여 글꼴을 새로 고치려고 합니다.
fc-cache -fv
다음 출력이 표시됩니다.
/usr/share/fonts/IBM_Plex_Serif # fc-cache -fv
Font directories:
/root/.local/share/fonts
/usr/local/share/fonts
/usr/share/fonts
/root/.fonts
/usr/share/fonts/IBM_Plex_Mono
/usr/share/fonts/IBM_Plex_Serif
/usr/share/fonts/LM_Roman_10
/usr/share/fonts/Main
/usr/share/fonts/noto
/usr/share/fonts/source-han-sans
/usr/share/fonts/source-han-serif
/usr/share/fonts/zh_CN-Adobe
/root/.local/share/fonts: skipping, no such directory
/usr/local/share/fonts: skipping, no such directory
/usr/share/fonts: caching, new cache contents: 0 fonts, 8 dirs
/usr/share/fonts/IBM_Plex_Mono: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/IBM_Plex_Serif: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/LM_Roman_10: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/Main: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/noto: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/source-han-sans: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/source-han-serif: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/zh_CN-Adobe: caching, new cache contents: 0 fonts, 0 dirs
/root/.fonts: skipping, no such directory
/usr/share/fonts/IBM_Plex_Mono: skipping, looped directory detected
/usr/share/fonts/IBM_Plex_Serif: skipping, looped directory detected
/usr/share/fonts/LM_Roman_10: skipping, looped directory detected
/usr/share/fonts/Main: skipping, looped directory detected
/usr/share/fonts/noto: skipping, looped directory detected
/usr/share/fonts/source-han-sans: skipping, looped directory detected
/usr/share/fonts/source-han-serif: skipping, looped directory detected
/usr/share/fonts/zh_CN-Adobe: 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
fc-cache: succeeded
글꼴 폴더를 확인해 보니 다음과 같습니다.
/usr/share/fonts/IBM_Plex_Serif # ls
IBMPlexSerif-Bold.ttf IBMPlexSerif-ExtraLightItalic.ttf IBMPlexSerif-LightItalic.ttf IBMPlexSerif-Regular.ttf IBMPlexSerif-Thin.ttf
IBMPlexSerif-BoldItalic.ttf IBMPlexSerif-Italic.ttf IBMPlexSerif-Medium.ttf IBMPlexSerif-SemiBold.ttf IBMPlexSerif-ThinItalic.ttf
IBMPlexSerif-ExtraLight.ttf IBMPlexSerif-Light.ttf IBMPlexSerif-MediumItalic.ttf IBMPlexSerif-SemiBoldItalic.ttf OFL.txt
알파인이 글꼴을 로드하지 않는 것 같습니다.