Re: IIS ActiveX Control - No special fonts creatable
- From: "Master Dev" <MasterDev@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 17 May 2005 23:56:02 -0700
The component got registred @ reboot? Dont believe the "no more need to
reboot" myth ;o)
--
--------------------------------------------
All is Haiku, even the chant of the wind
"Jens Bohlmann" wrote:
> Oh No....
>
> rebooting the server solves the thing. The hell knows why...
>
> "Jens Bohlmann" <jens.bohlmann@xxxxxxxxxx> wrote in message
> news:u58f7ttVFHA.3584@xxxxxxxxxxxxxxxxxxxxxxx
> > 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
> >
> >
> >
> >
> >
>
>
>
.
- References:
- IIS ActiveX Control - No special fonts creatable
- From: Jens Bohlmann
- Re: IIS ActiveX Control - No special fonts creatable
- From: Jens Bohlmann
- IIS ActiveX Control - No special fonts creatable
- Prev by Date: RE: ASP Help Needed
- Next by Date: ASP - PDF annotation
- Previous by thread: Re: IIS ActiveX Control - No special fonts creatable
- Next by thread: asp include??
- Index(es):
Loading