A customer of our applications reported a crash when he clicks the combobox
for choosing fonts. Upon click it scans all fonts known to Java whether they
seems to have fixed width or not. On his system a couple of strange fonts
(e.g. dymsmall.ttf) were installed causing the VM to crash when
fontMetrics.stringWidth is invoked (I can reproduce it on my XP machine).
The surprising thing is that if I open the font chooser in IDEA 8.1.4 (which
I'm using), it does NOT crash the VM. So my question is: how does IDEA
detect the fixed-width-fonts? Thanks in advance.