Name: rm29839 Date: 06/03/98
My NT machine is configured as follows (font-wise):
* TTF fonts stored on alternate drive.
* Bitmap (System) fonts stored in %SystemRoot%\Fonts
* Symbolic-links to my TTF fonts are also stored in %SystemRoot%\Fonts (this is legal and can also be achieved by installing fonts
from Control-Panel and unchecking the 'Copy fonts to Fonts folder' checkbox.)
The VM doesn't seem to recognize this (i.e. the symbolic links) and exits with an error message of the type 'could not find fonts in
c:\winnt\fonts.'
After some browsing through %JDKPath%\bin\classic\jvm.dll I stumbled over 'JAVA_FONTS', so I created an environment variable
JAVA_FONTS with my TTF directory on the alternate drive, and everything worked.
Warning: I also saw the '\Fonts' string in jvm.dll
*IF* you are assuming that fonts (even symbolic links to fonts) are stored in %SystemRoot%\Fonts, you might be in for a big
surprise. There is a particular registry key which holds the Fonts directory location, and you should get that (which,
indeed, is %SystemRoot%\Fonts by default but can always be changed!) instead of assuming a default location.
(Review ID: 32742)
======================================================================