
새로운 우분투 폰트에 아랍어가 빠져서 표준 폰트로 대체해야 하는데 문제는 표준 폰트가 좋지 않아서 타호마(Tahoma)로 교체하고 싶습니다.
그렇게 하는 방법이 있습니까, 아니면 글꼴 자체에 내장되어 있습니까?
답변1
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<test name="lang" compare="contains">
<string>ar</string>
</test>
<alias>
<family>sans-serif</family>
<prefer>
<family>Tahoma</family>
</prefer>
</alias>
</match>
</fontconfig>
~/.fonts.conf에 이를 입력하면 아랍어로 작성된 모든 내용은 Tahoma를 사용해야 합니다.