IIS ActiveX Control - No special fonts creatable
- From: "Jens Bohlmann" <jens.bohlmann@xxxxxxxxxx>
- Date: Thu, 12 May 2005 12:15:09 +0200
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
.
- Follow-Ups:
- Re: IIS ActiveX Control - No special fonts creatable
- From: Jens Bohlmann
- Re: IIS ActiveX Control - No special fonts creatable
- Prev by Date: Re: Strange behaviour of ASP library
- Next by Date: asp include??
- Previous by thread: Re: COM+ Permissions problem migrating to Windows 2003
- Next by thread: Re: IIS ActiveX Control - No special fonts creatable
- Index(es):
Relevant Pages
|