{"id":16,"date":"2007-03-18T16:45:13","date_gmt":"2007-03-18T21:45:13","guid":{"rendered":"http:\/\/wp.javatechniques.com\/blog\/java-font-problems-under-panther-mac-osx-103\/"},"modified":"2007-03-18T16:45:13","modified_gmt":"2007-03-18T21:45:13","slug":"java-font-problems-under-panther-mac-osx-103","status":"publish","type":"page","link":"http:\/\/javatechniques.com\/blog\/java-font-problems-under-panther-mac-osx-103\/","title":{"rendered":"Java Font Problems under Panther (Mac OSX 10.3)"},"content":{"rendered":"<p>After upgrading from OSX 10.2 to 10.3 (&#8220;Panther&#8221;), bold and italic fonts stopped working in JDK 1.4.1-based applications. The same applications running under JDK 1.3 (where such a test was possible) worked fine.<\/p>\n<p>The problem (ferreted out by several developers on Apple&#8217;s javadev mailing list) lay with font files apparently installed by Microsoft Office. Fortunately, the offending fonts were not installed on top of the &#8220;correct&#8221; fonts, so the fix is simple. Each user on the system (potentially) has a <CODE>Library\/Fonts\/<\/CODE> directory within their home directory (i.e., <CODE>~\/Library\/Fonts\/<\/CODE>). There is also a system font directory, inside the root-level <CODE>\/Library\/<\/CODE> directory on the boot disk (<CODE>\/Library\/Fonts\/<\/CODE>). Deleting or, to be safer, moving, any fonts that have files in <I>both<\/I> directories solves the problem.<\/p>\n<p>On my machine, the Arial, Arial Black, Times New Roman, and Verdana fonts were duplicated. Being paranoid, I moved these to another directory until I was sure that Office still worked correctly after the change. I also found that I had to log out and back in. Others have evidently had different experiences, including a reported need to reboot to make the changes take effect.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After upgrading from OSX 10.2 to 10.3 (&#8220;Panther&#8221;), bold and italic fonts stopped working in JDK 1.4.1-based applications. The same applications running under JDK 1.3 (where such a test was possible) worked fine. The problem (ferreted out by several developers on Apple&#8217;s javadev mailing list) lay with font files apparently installed by Microsoft Office. Fortunately, &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/javatechniques.com\/blog\/java-font-problems-under-panther-mac-osx-103\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Java Font Problems under Panther (Mac OSX 10.3)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-16","page","type-page","status-publish","hentry","entry"],"_links":{"self":[{"href":"http:\/\/javatechniques.com\/blog\/wp-json\/wp\/v2\/pages\/16","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/javatechniques.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/javatechniques.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/javatechniques.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/javatechniques.com\/blog\/wp-json\/wp\/v2\/comments?post=16"}],"version-history":[{"count":0,"href":"http:\/\/javatechniques.com\/blog\/wp-json\/wp\/v2\/pages\/16\/revisions"}],"wp:attachment":[{"href":"http:\/\/javatechniques.com\/blog\/wp-json\/wp\/v2\/media?parent=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}