|Subject:||Windows 2003 Server, fonts issue when running programs as services|
|Posted by:||cierech (acieresz…@gmail.com)|
|Date:||Wed, 8 Apr 2009|
I am struggling with a very weird problem. I have apache running on
Windows 2003 server. I have a simple Windows API C
(EnumFontFamiliesEx) program that all it does it lists all the fonts
installed on the system. When I run this program as a CGI application
through apache, I do not see ANY TrueType fonts. I see all other
OpenType fonts etc.
When I run the program as a standalone application i see all the
fonts. When I run apache as a standalone program and not a service I
see all the fonts. So this makes me think that it's an issue with the
service. Initially I thought it was a permissions issue, so I just
gave Everyone full access to the Fonts folder and all the fonts
inside. Same problem. When I recreate the scenario on Windows XP
everything is fine regardless how I run my test program... So this is
definitely a Windows 2003 problem.
Any help would be greatly appreciated. I've been googling for days now
to no avail.
Thanks for reading this :)