기본적인 우분투 설치 환경에서는 글꼴이 추가 되었다거나 설정 파일들이 변경되면 거의 실시간으로 그 변경이 적용 되게 되어 있습니다.
굳이 fc-cache 같은 명령은 필요 없습니다.
[code:790lubnb]
fc-match
fc-list
[/code:790lubnb]
요 두 명령어는 글꼴 해킹! 작업 할 때 요긴합니다.
[code:790lubnb]
➜ ~ fc-match
LSANS.TTF: "Lucida Sans" "normal"
➜ ~ fc-match -s | head -5
LSANS.TTF: "Lucida Sans" "normal"
LexiSaebomR.ttf: "LexiSaebomR" "Regular"
DejaVuSans.ttf: "DejaVu Sans" "Book"
DejaVuSans-Bold.ttf: "DejaVu Sans" "Bold"
n019003l.pfb: "Nimbus Sans L" "Regular"
➜ ~ fc-match sans-serif
LSANS.TTF: "Lucida Sans" "normal"
➜ ~ fc-match sans
LSANS.TTF: "Lucida Sans" "normal"
➜ ~ fc-match sans:lang=ko
LexiSaebomR.ttf: "LexiSaebomR" "Regular"
➜ ~ fc-match sans:lang=ko:bold
NanumGothicBold.ttf: "NanumGothic" "Bold"
➜ ~ fc-list | grep Lucida
Lucida Std:style=Bold Italic
Lucida Bright:style=Demibold
Lucida Bright:style=Italic
Lucida Grande:style=Bold
Lucida Sans:style=Demibold Roman,halvfed,Halbfett,Seminegrita,Puolilihavoitu,Demi-gras,Demi-grassetto,Halfvet,Trekvartsfet,Seminegrito
Lucida Bright:style=Regular
Lucida Sans:style=Regular,normal,Standard,Normaali,Normale,Standaard
Lucida Std:style=Italic
Lucida Grande:style=Regular
Lucida Grande Bold:style=Regular
Lucida Sans:style=Demibold Italic,halvfed kursiv,Halbfett Kursiv,Seminegrita Cursiva,Puolilihavoitu Kursivoitu,Demi-gras Italique,Demi-grassetto Corsivo,Halfvet Cursief,Trekvartsfet Kursiv,Seminegrito Itálico
Lucida Sans:style=Italic,kursiv,Cursiva,Kursivoitu,Italique,Corsivo,Cursief,Itálico
Lucida Std:style=Bold
Lucida Std:style=Roman,Regular
Lucida Bright:style=Demibold Italic
➜ ~ fc-list | grep Nanum
NanumGothicCoding,나눔고딕코딩:style=Regular
Nanum Pen Script,나눔손글씨 펜:style=Regular
NanumMyeongjo,나눔명조:style=Bold
NanumGothicCoding,나눔고딕코딩:style=Bold
NanumMyeongjo,나눔명조,NanumMyeongjoExtraBold,나눔명조 ExtraBold:style=ExtraBold,Regular
Nanum Brush Script,나눔손글씨 붓:style=Regular
NanumGothic,나눔고딕:style=Bold
NanumMyeongjo,나눔명조:style=Regular
NanumGothic,나눔고딕:style=Regular
➜ ~
[/code:790lubnb]
이런 식으로 사용합니다.