Eclipse PDE on Mac OS X: Getting the correct font size at runtime?
There's an annoying "feature" when using Eclipse PDE on Mac OS X: the font size of the runtime IDE is not the same as the true IDE. If you're developing a plug-in and you launch an Eclipse instance to test it (from within Eclipse), you will notice that the spawned instance looks very different from the original running Eclipse instance. The fonts are big and ugly. This makes it hard to fine-tune the plug-in UI.
BTW, I did not encounter that behavior of Windows.
Any ideas how to quickly solve this issue?
Found the answer.
You need to add the following VM argument to your launch configuration: -Dorg.eclipse.swt.internal.carbon.smallFonts
I opened a defect about it. Hopefully it will be fixed.