| Newsgroups |
gmane.comp.emulators.winex.devel |
| Message-ID |
<[email protected]> |
It wasn't enabling freetype because I don't have any truetype fonts on the box so didn't bother installing the freetype headers. Added the freetype headers and built it with it enabled. That wasn't quite enough though. I also had to enable fontconfig (didn't have those headers installed either.) That seems to have fixed the problem.
May want to update the dependency information such that it fails to compile if freetype and fontconfig support aren't enabled.
<DL>
On Wed, 14 Apr 2004, David Hammerton wrote:
> ahha, yep Freetype wasn't compiled in to winex, yet XRender was. That
> was a scenario I never expected.
>
> Anyhow, try and figure out why ./configure isn't enabling freetype and
> fix that.
>
> I'll also put a fix into CVS some time.
>
> David
>
> On 14-Apr-04, at 3:06 PM, [email protected] wrote:
>
> > You are correct, No Freetype font support is compiled in. Debian
> > seems to do something funky with freetype. I currently don't have it
> > installed.
> >
> > --
> >
> > <Douglas Leonard>
> > <[email protected]>
> >
> > On Wed, 14 Apr 2004, David Hammerton wrote:
> >
> >> Hi there,
> >>
> >> Could you send me a trace, by doing something like:
> >>
> >> wine --debugmsg +font,+xrender,+x11drv,+text,+seh
> >> program_being_run.exe
> >> &> debug_file
> >> gzip debug_file
> >>
> >> then email me the debug_file.gz
> >>
> >> (I suspect perhaps we are being a bit too hasty in presuming that your
> >> system is capable of the freetype font path)
> >>
> >> Thanks
> >>
> >> David
> >>
> >> On 14-Apr-04, at 1:50 PM, [email protected] wrote:
> >>
> >>> Since April 2 I've been getting the following exception.
> >>>
> >>> wine: Unhandled exception, starting debugger...
> >>> err:seh:EXC_DefaultHandling Unhandled exception code c0000005 flags 0
> >>> addr 0x400f001a
> >>>
> >>> The below patch is the one that causes the problem.
> >>>
> >>> diff --exclude=CVS -urN 20040401/winex/graphics/x11drv/xfont.c
> >>> 20040402/winex/graphics/x11drv/xfont.c
> >>> --- 20040401/winex/graphics/x11drv/xfont.c 2004-03-24
> >>> 10:30:41.000000000 -0800
> >>> +++ 20040402/winex/graphics/x11drv/xfont.c 2004-04-08
> >>> 18:31:15.000000000 -0700
> >>> @@ -2942,6 +2942,12 @@
> >>>
> >>> res = XFONT_GetPointResolution( log_pixels_x, log_pixels_y );
> >>>
> >>> + if(X11DRV_XRender_Installed)
> >>> + {
> >>> + XTextCaps |= TC_VA_ABLE | TC_SF_X_YINDEP;
> >>> + return XTextCaps;
> >>> + }
> >>> +
> >>> x_pattern = XFONT_GetXFontPattern(&x_count);
> >>>
> >>> TRACE("Font Mapper: initializing %i fonts [logical dpi=%i, default
> >>> dpi=%i]\n",
> >>> @@ -3035,9 +3041,6 @@
> >>> RAW_ASCENT = TSXInternAtom(gdi_display, "RAW_ASCENT", TRUE);
> >>> RAW_DESCENT = TSXInternAtom(gdi_display, "RAW_DESCENT", TRUE);
> >>>
> >>> - if(X11DRV_XRender_Installed)
> >>> - XTextCaps |= TC_VA_ABLE;
> >>> -
> >>> return XTextCaps;
> >>> }
> >>>
> >>> Unfortunately I've been busy enough that this is the first chance
> >>> I've
> >>> had to find exactly what change causes the exception is and don't
> >>> really have time to delve any deeper. Hopefully there's an easy fix
> >>> for it.
> >>>
> >>> --
> >>>
> >>> <Douglas Leonard>
> >>> <[email protected]>
> >>>
> >>>
> >> --
> >> David Hammerton
> >> [email protected]
> >> http://crazney.net/
> >> Welfare *NOT* Warfare
> >>
> > <debug_file>
> --
> David Hammerton
> WineX developer
> TransGaming Technologies
> Mobile: +61 439 610 116
> [email protected]
> http://www.transgaming.com
> *Let the Games Begin*
>