IIS ActiveX Control - No special fonts creatable



Hy all

we have an iis active x control hosted on IIS 5.0 (W2K). One function
renders grafics into a temporary dc to build some custom images. We create
some special true-type-fonts with

ENV: WTL 7.1 -AX-Control build on VC++.NET 2003 without MFC

LOGFONT LogFont;

::memset(&LogFont,0,sizeof(LogFont));

LogFont.lfHeight =15;

LogFont.lfWidth =0;

LogFont.lfEscapement =0;

LogFont.lfOrientation =0;

LogFont.lfWeight =FW_NORMAL;

LogFont.lfItalic =FALSE;

LogFont.lfUnderline =FALSE;

LogFont.lfStrikeOut =FALSE;

LogFont.lfCharSet =ANSI_CHARSET;

LogFont.lfOutPrecision =OUT_TT_PRECIS;

LogFont.lfClipPrecision =CLIP_TT_ALWAYS;

LogFont.lfQuality =PROOF_QUALITY;

LogFont.lfPitchAndFamily =DEFAULT_PITCH;

strcpy(LogFont.lfFaceName,_T("Sevenet"));

CFont TextFontHorz.CreateFontIndirect(&LogFont);

But except default fonts like Courier or Arial they wont be created.

Then replacement-fonts are substituted. On XP or W2003 server (development
environment it works, but not on the productive server (W2K, all SP,
IIS-Lockdown, Baseline Security Anlayser etc....)

Could it be a security issue or something else to configure in IIS???

Any help is welcome!!

Jens





.



Relevant Pages

  • Re: IIS ActiveX Control - No special fonts creatable
    ... rebooting the server solves the thing. ... > we have an iis active x control hosted on IIS 5.0. ... > LOGFONT LogFont; ... > IIS-Lockdown, Baseline Security Anlayser etc....) ...
    (microsoft.public.inetserver.asp.components)
  • IIS ActiveX Component - No fonts creatable
    ... we have an iis active x control hosted on IIS 5.0. ... But except default fonts like Courier or Arial they wont be created. ... environment it works, but not on the productive server (W2K, all SP, ... IIS-Lockdown, Baseline Security Anlayser etc....) ...
    (microsoft.public.inetserver.iis.security)