Hacker News new | ask | show | jobs
by karlshea 4037 days ago
If you're trying to get this to work in a Java IDE on OSX (IDEA/PhpStorm for me) the only way I could get real italics to work was to put the TTF (not OTF) fonts into /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/fonts

Obviously this path will be different if you've changed your IDE to use a different JRE, but they seem to need to live in the Java home lib/fonts directory otherwise they aren't treated right.

I also had to pick the medium weight because regular rendered like light. The font situation with Java on OSX seems very strange.