나눔 폰트 일본어 한자 깨짐 현상?

holy의 이미지

안녕하세요, 현재 Arch Linux를 사용하고 있는 유저입니다. 일하는 곳에서 사용하는 Fedora에서와는 달리 Arch Linux에서는 일본어 한자가 제대로 나오지 않는 문제가 발생하여 여쭤보게 되었습니다.

다음은 네이버 일본어 사전 검색 결과입니다: https://imgur.com/a/gV41ldi

보시다시피 몇몇 한자들은 그냥 네모로 표시가 되는데, 폴더를 생성하여 일본어 한자를 입력할 때에도 같은 문제가 발생함을 확인하였습니다.

현재 ibus를 통해 한글을 입력하고 있으며, AUR에서 ttf-nanum을 설치하여 폰트에도 문제가 없을 것이라 생각하였는데 보니까 일본어에서만 사용하는 한자에서 문제가 생기는 것 같습니다. 다음은 폰트와 관련된 몇 가지 결과입니다:

[-@- ~]$ fc-list | grep Nanum
/usr/share/fonts/TTF/NanumGothicLight.ttf: NanumGothic,나눔고딕,NanumGothic Light,나눔고딕 Light:style=Light,Regular
/usr/share/fonts/TTF/NanumMyeongjoBold.ttf: NanumMyeongjo,나눔명조:style=Bold
/usr/share/fonts/TTF/NanumBarunGothic.ttf: NanumBarunGothic,나눔바른고딕:style=Regular
/usr/share/fonts/TTF/NanumSquareRoundL.ttf: NanumSquareRound,나눔스퀘어라운드,NanumSquareRound Light,나눔스퀘어라운드 Light:style=Light,Regular
/usr/share/fonts/TTF/NanumBarunpenR.ttf: NanumBarunpen,나눔바른펜:style=Regular
/usr/share/fonts/TTF/NanumMyeongjo.ttf: NanumMyeongjo,나눔명조:style=Regular
/usr/share/fonts/TTF/NanumSquareRoundEB.ttf: NanumSquareRound,나눔스퀘어라운드,NanumSquareRound ExtraBold,나눔스퀘어라운드 ExtraBold:style=ExtraBold,Regular
/usr/share/fonts/TTF/NanumSquareR.ttf: NanumSquare,나눔스퀘어:style=Regular
/usr/share/fonts/TTF/NanumMyeongjoExtraBold.ttf: NanumMyeongjo,나눔명조,NanumMyeongjoExtraBold,나눔명조 ExtraBold:style=ExtraBold,Regular
/usr/share/fonts/TTF/NanumSquareB.ttf: NanumSquare,나눔스퀘어,NanumSquare Bold,나눔스퀘어 Bold:style=Bold,Regular
/usr/share/fonts/TTF/NanumGothic.ttf: NanumGothic,나눔고딕:style=Regular
/usr/share/fonts/TTF/NanumBarunGothicUltraLight.ttf: NanumBarunGothic,나눔바른고딕,NanumBarunGothic UltraLight,나눔바른고딕 UltraLight:style=UltraLight
/usr/share/fonts/TTF/NanumSquareRoundR.ttf: NanumSquareRound,나눔스퀘어라운드,NanumSquareRound Regular,나눔스퀘어라운드 Regular:style=Regular
/usr/share/fonts/TTF/NanumBarunpenB.ttf: NanumBarunpen,나눔바른펜,NanumBarunpen Bold:style=Bold
/usr/share/fonts/TTF/NanumSquareRoundB.ttf: NanumSquareRound,나눔스퀘어라운드,NanumSquareRound Bold,나눔스퀘어라운드 Bold:style=Bold,Regular
/usr/share/fonts/TTF/NanumGothicExtraBold.ttf: NanumGothic,나눔고딕,NanumGothicExtraBold,나눔고딕 ExtraBold:style=ExtraBold,Regular,Bold
/usr/share/fonts/TTF/NanumPen.ttf: Nanum Pen Script,나눔손글씨 펜:style=Regular
/usr/share/fonts/TTF/NanumBarunGothicLight.ttf: NanumBarunGothic,나눔바른고딕,NanumBarunGothic Light,나눔바른고딕 Light:style=Light
/usr/share/fonts/TTF/NanumSquareL.ttf: NanumSquare,나눔스퀘어,NanumSquare Light,나눔스퀘어 Light:style=Light,Regular
/usr/share/fonts/TTF/NanumBrush.ttf: Nanum Brush Script,나눔손글씨 붓:style=Regular
/usr/share/fonts/TTF/NanumGothicCoding-Bold.ttf: NanumGothicCoding,나눔고딕코딩:style=Bold
/usr/share/fonts/TTF/NanumBarunGothicBold.ttf: NanumBarunGothic,나눔바른고딕:style=Bold
/usr/share/fonts/TTF/NanumGothicCoding.ttf: NanumGothicCoding,나눔고딕코딩:style=Regular
/usr/share/fonts/TTF/NanumSquareEB.ttf: NanumSquare,나눔스퀘어,NanumSquare ExtraBold,나눔스퀘어 ExtraBold:style=ExtraBold,Regular
/usr/share/fonts/TTF/NanumGothicBold.ttf: NanumGothic,나눔고딕:style=Bold

[incantator@incantator ~]$ fc-list -f '%{file}\n' :lang=kr
/usr/share/fonts/noto/NotoSerifDisplay-Bold.ttf
/usr/share/fonts/noto/NotoSerifDisplay-Black.ttf
/usr/share/fonts/noto/NotoSerifDisplay-Italic.ttf
/usr/share/fonts/TTF/LiberationMono-Bold.ttf
/usr/share/fonts/noto/NotoSerif-BlackItalic.ttf
/usr/share/fonts/croscore/Cousine-Bold.ttf
/usr/share/fonts/croscore/Cousine-Regular.ttf
/usr/share/fonts/noto/NotoSansDisplay-Medium.ttf
/usr/share/fonts/TTF/LiberationMono-Regular.ttf
/usr/share/fonts/noto/NotoSans-ThinItalic.ttf
/usr/share/fonts/noto/NotoSansMono-Bold.ttf
/usr/share/fonts/TTF/LiberationSans-BoldItalic.ttf
/usr/share/fonts/noto/NotoSerifDisplay-ThinItalic.ttf
/usr/share/fonts/noto/NotoSansDisplay-MediumItalic.ttf
/usr/share/fonts/noto/NotoSansMono-Black.ttf
/usr/share/fonts/noto/NotoSerifDisplay-Light.ttf
/usr/share/fonts/croscore/Arimo-BoldItalic.ttf
/usr/share/fonts/croscore/Tinos-Bold.ttf
/usr/share/fonts/noto/NotoSerifDisplay-BlackItalic.ttf
/usr/share/fonts/croscore/Tinos-Italic.ttf
/usr/share/fonts/TTF/LiberationSans-Italic.ttf
/usr/share/fonts/TTF/LiberationMono-BoldItalic.ttf
/usr/share/fonts/noto/NotoSerif-Regular.ttf
/usr/share/fonts/noto/NotoSerif-Light.ttf
/usr/share/fonts/noto/NotoSansMono-Light.ttf
/usr/share/fonts/noto/NotoSerif-ThinItalic.ttf
/usr/share/fonts/croscore/Cousine-Italic.ttf
/usr/share/fonts/TTF/LiberationMono-Italic.ttf
/usr/share/fonts/noto/NotoSansDisplay-BoldItalic.ttf
/usr/share/fonts/noto/NotoSerifDisplay-MediumItalic.ttf
/usr/share/fonts/croscore/Arimo-Bold.ttf
/usr/share/fonts/noto/NotoSerif-Black.ttf
/usr/share/fonts/TTF/LiberationSans-Bold.ttf
/usr/share/fonts/noto/NotoSerifDisplay-BoldItalic.ttf
/usr/share/fonts/TTF/LiberationSerif-BoldItalic.ttf
/usr/share/fonts/noto/NotoSansMono-Medium.ttf
/usr/share/fonts/noto/NotoSans-LightItalic.ttf
/usr/share/fonts/croscore/Tinos-BoldItalic.ttf
/usr/share/fonts/noto/NotoSerifDisplay-Thin.ttf
/usr/share/fonts/noto/NotoSansDisplay-BlackItalic.ttf
/usr/share/fonts/noto/NotoSans-MediumItalic.ttf
/usr/share/fonts/noto/NotoSans-BoldItalic.ttf
/usr/share/fonts/noto/NotoSerif-Bold.ttf
/usr/share/fonts/noto/NotoSans-Italic.ttf
/usr/share/fonts/noto/NotoSansDisplay-Regular.ttf
/usr/share/fonts/noto/NotoSerifDisplay-Medium.ttf
/usr/share/fonts/noto/NotoSerif-Italic.ttf
/usr/share/fonts/noto/NotoSerif-LightItalic.ttf
/usr/share/fonts/TTF/LiberationSans-Regular.ttf
/usr/share/fonts/noto/NotoSansDisplay-ThinItalic.ttf
/usr/share/fonts/noto/NotoSerif-Medium.ttf
/usr/share/fonts/noto/NotoSansDisplay-Black.ttf
/usr/share/fonts/noto/NotoSansMono-Regular.ttf
/usr/share/fonts/noto/NotoSans-Black.ttf
/usr/share/fonts/noto/NotoSansDisplay-Light.ttf
/usr/share/fonts/noto/NotoSerif-MediumItalic.ttf
/usr/share/fonts/TTF/LiberationSerif-Regular.ttf
/usr/share/fonts/TTF/LiberationSerif-Bold.ttf
/usr/share/fonts/noto/NotoSansDisplay-Thin.ttf
/usr/share/fonts/noto/NotoSansDisplay-Bold.ttf
/usr/share/fonts/noto/NotoSans-Regular.ttf
/usr/share/fonts/noto/NotoSerifDisplay-LightItalic.ttf
/usr/share/fonts/noto/NotoSerif-BoldItalic.ttf
/usr/share/fonts/noto/NotoSansDisplay-LightItalic.ttf
/usr/share/fonts/noto/NotoSans-Light.ttf
/usr/share/fonts/noto/NotoSansMono-Thin.ttf
/usr/share/fonts/noto/NotoSerif-Thin.ttf
/usr/share/fonts/croscore/Cousine-BoldItalic.ttf
/usr/share/fonts/croscore/Arimo-Italic.ttf
/usr/share/fonts/noto/NotoSans-BlackItalic.ttf
/usr/share/fonts/noto/NotoSans-Bold.ttf
/usr/share/fonts/noto/NotoSans-Medium.ttf
/usr/share/fonts/TTF/LiberationSerif-Italic.ttf
/usr/share/fonts/noto/NotoSans-Thin.ttf
/usr/share/fonts/noto/NotoSerifDisplay-Regular.ttf
/usr/share/fonts/croscore/Tinos-Regular.ttf
/usr/share/fonts/noto/NotoSansDisplay-Italic.ttf
/usr/share/fonts/croscore/Arimo-Regular.ttf

희한한게 kr 폰트들을 찾았는데 나눔 폰트들이 안 보이네요... 현재 사용하는 폰트가 나눔 폰트가 아닐 수도 있을까요?? 어떻게 하면 현재 사용되는 폰트를 알 수 있을지를 몰라 미처 올리지 못하였습니다. 혹시 추가적인 자료가 필요하면 바로 업로드하겠습니다.

폰트 문제가 참 성가시게 귀찮게 하네요... 도움 주시면 감사드립니다!

ㅁㅁㅁ의 이미지

나눔 폰트에 들어있지 않는 한자가 네모로 표시되는 것 같은데,
네모로 표시되는 한자가 들어있는 폰트를 설치하시면 되겠습니다.
아마도 일본어 폰트를 설치하시면 될 것 같습니다.
https://www.archlinux.org/packages/extra/any/noto-fonts-cjk/
이걸 설치하시면 되겠네요..
Noto Sans CJK JP
Noto Sans CJK KR
Noto Sans CJK SC
Noto Sans CJK TC

Noto Sans Mono CJK JP
Noto Sans Mono CJK KR
Noto Sans Mono CJK SC
Noto Sans Mono CJK TC

Noto Serif CJK JP
Noto Serif CJK KR
Noto Serif CJK SC
Noto Serif CJK TC

holy의 이미지

나눔 폰트가 그냥 일본어 글자까지 다 표시해준다고 지레짐작했었네요 ㅎㅎ 폰트가 어떻게 적용되는지 잘 몰라 당황했던 것 같습니다. 설치 후 글자 깨짐 현상이 말끔히 사라졌네요. 감사합니다!

ㅁㅁㅁ의 이미지

귀하께서 말씀하신 그러한 문제 때문에 구글,어도비에서 만든 폰트가
구글에서는 noto sans cjk, noto serif cjk 라 부르고
어도비에서는 본고딕, 본명조라 부르고 있습니다.
아시아 문화권에서는 그 폰트를 설치해야 중국 한자, 일본 한자, 한국 한자, 한글 보는데 문제가 없습니다.
대규모의 폰트입니다. 한자의 경우 한중일 공통으로 사용하는 한자가 있고, 중국에서만 쓰는 한자, 일본에서만 쓰는 한자, 한자 그림은 같지만 유니코드가 다른 한자도 있습니다.
사용하시는 배포판에 패키지로 들어있을 것이니 그걸 설치하시면 되겠습니다.

holy의 이미지

이제 왜 해당 폰트를 설치했어야만 했는지 이해가 됐습니다.

익명 사용자의 이미지

> 희한한게 kr 폰트들을 찾았는데 나눔 폰트들이 안 보이네요...

한국어의 언어 코드는 "ko"이지, "kr"이 아닙니다. 흔히 자주 저지르는 실수죠.

$ fc-list -f '%{file}\n' :lang=ko | grep Nanum
/usr/share/fonts/truetype/nanum/NanumMyeongjo.ttf
/usr/share/fonts/truetype/nanum/NanumGothic.ttf
...
holy의 이미지

알려주셔서 감사합니다! 전 또 뭔가 잘못된 줄 알고 걱정하고 있었네요 ㅎㅎ

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.