{"id":1888,"date":"2018-05-21T07:00:09","date_gmt":"2018-05-20T22:00:09","guid":{"rendered":"http:\/\/matoken.org\/blog\/?p=1888"},"modified":"2018-05-21T07:00:09","modified_gmt":"2018-05-20T22:00:09","slug":"system-font-was-a-general-cjk","status":"publish","type":"post","link":"https:\/\/matoken.org\/blog\/2018\/05\/21\/system-font-was-a-general-cjk\/","title":{"rendered":"system font\u304c\u6c4e\u7528CJK\u306b\u306a\u3063\u3066\u3044\u305f"},"content":{"rendered":"<p>\u306a\u3093\u304bPC\u3092\u518d\u8d77\u52d5\u3057\u3066\u304b\u3089\u30d5\u30a9\u30f3\u30c8\u304c\u5909\u306b\u306a\u3063\u3066\u3044\u307e\u3057\u305f\uff0e\u4e2d\u56fd\u8a9e\u6df7\u3058\u308a\u306e\u3088\u3046\u306a\u6c4e\u7528CJK\u3089\u3057\u304d\u30d5\u30a9\u30f3\u30c8\u306b\u306a\u3063\u3066\u3044\u307e\u3059\uff0e\u4eca\u306e\u30d5\u30a9\u30f3\u30c8\u3092\u8abf\u3079\u308b\u306e\u306f\u4f55\u3060\u308d\u3046\u3068\u63a2\u3059\u3068\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u3092\u898b\u3064\u3051\u307e\u3057\u305f\uff0e<\/p>\n<ul>\n<li><a href='https:\/\/www.slideshare.net\/babatakao\/font-config' title='Fontconfig\u3053\u3068\u306f\u3058\u3081'>Fontconfig\u3053\u3068\u306f\u3058\u3081<\/a><\/li>\n<\/ul>\n<p><code>fc<span style='font-family:\"Open Sans\", \"Clear Sans\", \"Helvetica Neue\", Helvetica, Arial, sans-serif'>-<\/span>match<\/code>\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3059\u308b\u3068<strong><code>WenQuanYi Zen Hei<\/code><\/strong>\u3068\u3044\u3046\u30d5\u30a9\u30f3\u30c8\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u72b6\u614b\u306e\u3088\u3046\u3067\u3059\uff0e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u78ba\u8a8d\u3059\u308b\u3068<code>fonts<span style='font-family:\"Open Sans\", \"Clear Sans\", \"Helvetica Neue\", Helvetica, Arial, sans-serif'>-<\/span>wqy<span style='font-family:\"Open Sans\", \"Clear Sans\", \"Helvetica Neue\", Helvetica, Arial, sans-serif'>-<\/span>microhei<\/code>\u306e\u3088\u3046\u3067\u3059\uff0e\u304a\u307e\u3051\u306b<code>fonts<span style='font-family:\"Open Sans\", \"Clear Sans\", \"Helvetica Neue\", Helvetica, Arial, sans-serif'>-<\/span>wqy<span style='font-family:\"Open Sans\", \"Clear Sans\", \"Helvetica Neue\", Helvetica, Arial, sans-serif'>-<\/span>zenhei<\/code>\u3068\u3044\u3046\u4e2d\u56fd\u8a9e\u30d5\u30a9\u30f3\u30c8\u3082\u5165\u3063\u3066\u3044\u305f\u306e\u3067\u3053\u308c\u3089\u3092\u524a\u9664\u3057\u307e\u3057\u305f\uff0e(fonts-noto\u3082\u5165\u3063\u3066\u3044\u308b\u306e\u3067\u3082\u3057\u4e2d\u56fd\u8a9e\u3092\u8868\u793a\u3059\u308b\u5fc5\u8981\u304c\u51fa\u3066\u3082\u554f\u984c\u306a\u3044\u306f\u305a)<\/p>\n<pre><code class='language-shell' lang='shell'>$ fc-match :lang=ja\r\nwqy-zenhei.ttc: &quot;WenQuanYi Zen Hei&quot; &quot;Regular&quot;\r\n$ apt-cache search WenQuanYi\r\nfonts-wqy-microhei - Sans-serif style CJK font derived from Droid\r\nfonts-wqy-zenhei - &quot;WenQuanYi Zen Hei&quot; A Hei-Ti Style (sans-serif) Chinese font\r\nxfonts-wqy - WenQuanYi Bitmap Song CJK font for X\r\n$ dpkg -l|grep -i  fonts-wqy\r\nii  fonts-wqy-microhei                            0.2.0-beta-3                            all          Sans-serif style CJK font derived from Droid\r\nii  fonts-wqy-zenhei                              0.9.45-7                                all          &quot;WenQuanYi Zen Hei&quot; A Hei-Ti Style (sans-serif) Chinese font\r\n$ sudo apt purge fonts-wqy-microhei fonts-wqy-zenhei\r\n<\/code><\/pre>\n<p>dgm3\u3092\u518d\u8d77\u52d5\u3057\u3066\u30ed\u30b0\u30a4\u30f3\u3057\u76f4\u3059\u3068\u4ee5\u524d\u8a2d\u5b9a\u3057\u305f\u30d5\u30a9\u30f3\u30c8\u306b\u306a\u3063\u3066\u3044\u307e\u3057\u305f\uff0e<\/p>\n<pre><code class='language-shell' lang='shell'>$ fc-match \r\numeplus-p-gothic.ttf: &quot;UmePlus P Gothic&quot; &quot;Regular&quot;\r\n<\/code><\/pre>\n<p>log\u3092\u898b\u308b\u3068fonts-wqy-microhei\u306e0.2.0-beta-3 \u30670.2.0-beta-2\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u305f\u3082\u306e\u304c\u898b\u3064\u304b\u308a\u307e\u3057\u305f\uff0e\u6050\u3089\u304f\u3053\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u7f6e\u304d\u63db\u308f\u3063\u305f\u306e\u3067\u306f\u306a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\uff0e\u305d\u308c\u4ee5\u524d\u306e1\u5e74\u307b\u3069\u306e\u30ed\u30b0\u306e\u4e2d\u306b\u306f\u306a\u304b\u3063\u305f\u306e\u3067\u305d\u308c\u4ee5\u524d\u306b\u5c0e\u5165\u3055\u308c\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u3088\u3046\u3067\u3059\uff0e<\/p>\n<p>\u4e2d\u3092\u898b\u308b\u3068\u3053\u306e\u3088\u3046\u306a\u8a2d\u5b9a\u304c\uff0e<\/p>\n<pre><code class='language-shell' lang='shell'>$ find fonts-wqy-microhei_0.2.0-beta-3_all -type f -print | grep etc\r\nfonts-wqy-microhei_0.2.0-beta-3_all\/etc\/fonts\/conf.avail\/65-wqy-microhei.conf\r\n<\/code><\/pre>\n<p>\u4ee5\u4e0b\u3092\u898b\u308b\u3068\u6a19\u6e96\u3088\u308a\u5927\u304d\u3044\u6570\u5b57\u306a\u306e\u3067\u624b\u52d5\u3067\u8a2d\u5b9a\u3057\u305f\u30d5\u30a9\u30f3\u30c8\u3088\u308a\u512a\u5148\u5ea6\u304c\u9ad8\u3044\u306e\u3067\u7f6e\u304d\u63db\u308f\u3063\u305f\u306e\u3067\u3057\u3087\u3046\u304b?\u3060\u3068\u3059\u308b\u3068\u4e2d\u9014\u534a\u7aef\u306b\u8a2d\u5b9a\u3092\u3044\u3058\u3063\u3066\u3044\u305f\u81ea\u5206\u306e\u305b\u3044\u306e\u3088\u3046\u3067\u3059orz<\/p>\n<blockquote>\n<ol>\n<li>\u5404\u65e5\u672c\u8a9e\u30d5\u30a9\u30f3\u30c8\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u3001\/usr\/share\/fonts\/truetype\/<\/li>\n<\/ol>\n<p>ttf-japanese-mincho.ttf \u307e\u305f\u306f ttf-japanese-gothic.ttf \u3092alternatives\u30d1\u30b9\u3068\u3057\u3066\u767b\u9332\u3059\u308b\u3002alternatives\u512a\u5148\u9806\u4f4d\u306f\u6b21\u306e\u3088\u3046\u306b \u898f\u5b9a\u3059\u308b\u3002<\/p>\n<p>   100\u3088\u308a\u4e0a: \u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u307e\u305f\u306f\u30e6\u30fc\u30b6\u4f5c\u6210\u306e\u30d5\u30a9\u30f3\u30c8\uff08IPA \u30d5\u30a9\u30f3\u30c8\u306a\u3069\u306f\u3053\u306e\u30ab\u30c6\u30b4\u30ea\u306b\u5165\u308b\uff09<br \/>\n   60: vl-gothic\uff08\u6a19\u6e96\uff09<br \/>\n   50: ttf-sazanami-mincho, ttf-sazanami-gothic<br \/>\n   20: ttf-kochi-mincho, ttf-kochi-gothic<br \/>\n   20\u3088\u308a\u4e0b: \u65e5\u672c\u8a9e\u3092\u5b57\u5f62\u306b\u542b\u3080\u304cunified\u9818\u57df\u3067\u4e2d\u56fd\u8a9e\u5b57\u5f62\u304c\u4f7f\u308f\u308c\u3066\u3044\u308b\u306a\u3069<br \/>\n             \u65e5\u672c\u8a9e\u306e\u8868\u73fe\u306b\u306f\u4f7f\u3044\u306b\u304f\u3044\u30d5\u30a9\u30f3\u30c8<\/p>\n<\/blockquote>\n<ul>\n<li><a href='https:\/\/wiki.debian.org\/Fonts\/Japanesefontpkg' title='Fonts\/Japanesefontpkg - Debian Wiki'>Fonts\/Japanesefontpkg &#8211; Debian Wiki<\/a><\/li>\n<\/ul>\n<p>\u3068\u308a\u3042\u3048\u305a\u4f7f\u308f\u306a\u3044\u3067\u3042\u308d\u3046\u30d5\u30a9\u30f3\u30c8\u304c\u524a\u9664\u3067\u304d\u3066\u30c7\u30a3\u30b9\u30af\u30b9\u30da\u30fc\u30b9\u304c\u958b\u3044\u305f\u306e\u3067\u826f\u304b\u3063\u305f\u3068\u3057\u307e\u3057\u3087\u3046\uff0e<\/p>\n<h2>\u74b0\u5883<\/h2>\n<pre><code class='language-shell' lang='shell'>$ uname -m\r\nx86_64\r\n$ lsb_release -d\r\nDescription:    Debian GNU\/Linux unstable (sid)\r\n$ dpkg-query -W fontconfig\r\nfontconfig      2.13.0-5\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u306a\u3093\u304bPC\u3092\u518d\u8d77\u52d5\u3057\u3066\u304b\u3089\u30d5\u30a9\u30f3\u30c8\u304c\u5909\u306b\u306a\u3063\u3066\u3044\u307e\u3057\u305f\uff0e\u4e2d\u56fd\u8a9e\u6df7\u3058\u308a\u306e\u3088\u3046\u306a\u6c4e\u7528CJK\u3089\u3057\u304d\u30d5\u30a9\u30f3\u30c8\u306b\u306a\u3063\u3066\u3044\u307e\u3059\uff0e\u4eca\u306e\u30d5\u30a9\u30f3\u30c8\u3092\u8abf\u3079\u308b\u306e\u306f\u4f55\u3060\u308d\u3046\u3068\u63a2\u3059\u3068\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u3092\u898b\u3064\u3051\u307e\u3057\u305f\uff0e Fontconfig\u3053\u3068\u306f\u3058\u3081 f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"webmentions_disabled_pings":false,"webmentions_disabled":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[7,6,199],"tags":[330,331],"class_list":["post-1888","post","type-post","status-publish","format-standard","hentry","category-debian-linux","category-linux","category-sid","tag-font","tag-fontconfig"],"_links":{"self":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/1888","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/comments?post=1888"}],"version-history":[{"count":0,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/1888\/revisions"}],"wp:attachment":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/media?parent=1888"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/categories?post=1888"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/tags?post=1888"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}