1. Welcome Guest! In order to create a new topic or reply to an existing one, you must register first. It is easy and free. Click here to sign up now!.
    Dismiss Notice

Windows 2003 Server, fonts issue when running programs as services

Discussion in 'Windows Home Server' started by cierech, Apr 8, 2009.

  1. cierech

    cierech Guest

    Hi everybody,

    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 :)

    Andrzej Ciereszko
    Software Engineer
    aciereszko@gmail.com
     
  2. cierech

    cierech Guest

    Re: Windows 2003 Server, fonts issue when running programs asservices

    On Apr 8, 2:49 pm, cierech <acieres...@gmail.com> wrote:
    > Hi everybody,
    >
    > 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 :)
    >
    > Andrzej Ciereszko
    > Software Engineer
    > acieres...@gmail.com


    I have also verified the same behavior on two other Windows 2003
    machines.
     

Share This Page