{"id":57,"date":"2003-06-22T17:21:22","date_gmt":"2003-06-22T22:21:22","guid":{"rendered":"http:\/\/ywwg.com\/wordpress\/?p=57"},"modified":"2003-06-22T17:21:22","modified_gmt":"2003-06-22T22:21:22","slug":"linux-tip-japanese-characters-render-with-small-bitmapped-font","status":"publish","type":"post","link":"https:\/\/ywwg.com\/wordpress\/archives\/57","title":{"rendered":"Linux Tip: japanese characters render with small bitmapped font"},"content":{"rendered":"<p>This is the first in a series of little linux tidbits that I&#8217;ll post.  They are for my own benefit, in case I ever get alzheimer&#8217;s and need to configure SAMBA or something.  If these are of any interest at all to anyone else, it&#8217;s a miracle.  The problem will be in this summary, the explanation and answer are &#8220;below the fold&#8221; under &#8220;more&#8230;&#8221;<\/p>\n<p>Symptoms:<br \/>\nJapanese characters in gnome2 are renderred using a small, bitmapped font instead of beautiful kochi gothic or mincho.<br \/>\n<!--more--><br \/>\nProblem:<br \/>\nIn gnome2, pango is the system that maps applications&#8217; requests for fonts with the actual fonts.   In this case, pango is returning a crappy font instead of the one we want.  Specifically, it is returning fonts in \/usr\/share\/fonts\/bitmapped-fonts, which are provided by the bitmapped-fonts rpm.  You can&#8217;t remove the rpm without causing trouble.<\/p>\n<p>testing:<br \/>\npage 48 of the character map has the characters in question.<\/p>\n<p>Solution:<br \/>\nedit \/etc\/fonts\/fonts.conf and unspecify \/usr\/share\/fonts.  Respecify only the subdirectories that you want.  fonts.conf specifies top-level directories and scans below.<\/p>\n<p>then, run \/etc\/init.d\/xfs reload, and restart all applications that you want to test.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>fixing japanese font issues in linux<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"_links":{"self":[{"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/posts\/57"}],"collection":[{"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/comments?post=57"}],"version-history":[{"count":0,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/posts\/57\/revisions"}],"wp:attachment":[{"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/media?parent=57"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/categories?post=57"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/tags?post=57"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}