Re: fixme:font:load_VDMX Failed to retrieve vTable

2005-12-15 Thread Alex Villací­s Lasso

Curro Amores wrote:


hi ,

sorry but im a bit desperated, i dont find the way of sorting out my 
problem.


i send a snapshot of my report so you could give me a hint of what is 
going wrong,


It's a access 97 app and i can not display reports correctly.

ill be very pleased.

The problem is that i dont get any error with WINEDBG


Your snapshot looks as if the wrong font is being used for the display, 
or a required font is not available. In order to see what is wrong with 
your application, the best way would be to file a bug report at 
http://bugs.winehq.org. Please indicate the kind and version of 
distribution you are using (Fedora, Mandriva, etc), the version of Wine 
you are using, and whether it is a RPM package, a compiled version from 
a tar snapshot, or a compiled version from CVS. Most important of all, 
please add a link to a downloadable, self-contained version of your app, 
or an equivalent stripped-down one, that demonstrates the bug. By 
self-contained, I especially mean not requiring a remote connection to 
a SQL server somewhere. A standalone app (with optional mdb file) would 
be perfect, but an installer will do. Note, however, that the installer 
itself might expose bugs that prevent others from even getting to run 
your app.


Things to try out in the meantime:
* Check whether you have the latest version of wine, and fontconfig (for 
fontconfig, you might try yum for checking updates)
* Check the output of fc-list (this command is part of fontconfig) and 
check whether the required TrueType fonts are available on your system.
* Try to post a snapshot of the expected appearance of your report *in 
your bug report at bugs.winehq.org*. Please also comment what fonts your 
report expects to be present.


Alex Villacís Lasso





Re: fixme:font:load_VDMX Failed to retrieve vTable

2005-12-09 Thread Andreas Mohr
Hi,

On Fri, Dec 09, 2005 at 10:53:33AM +0100, Curro Amores wrote:
 hi my reports are not well displayed on my access97 app.
 
 fonts are displayed i anora location and separed
 I got this fixme
 
 fixme:font:load_VDMX Failed to retrieve vTable

dlls/gdi/freetype.c:

if(WineEngGetFontData(font, MS_VDMX_TAG, offset, group, 4) != GDI_ERROR) {
USHORT recs;
BYTE startsz, endsz;
BYTE *vTable;

recs = GET_BE_WORD(group);
startsz = group[2];
endsz = group[3];

TRACE(recs=%d  startsz=%d  endsz=%d\n, recs, startsz, endsz);

vTable = HeapAlloc(GetProcessHeap(), 0, recs * 6);
result = WineEngGetFontData(font, MS_VDMX_TAG, offset + 4, vTable, recs
* 6);
if(result == GDI_ERROR) {
FIXME(Failed to retrieve vTable\n);
goto end;
}


This FIXME is quite confusing and should be fixed, since it's NOT at all
about the common vTable term, but instead a VDMX font-related table AFAICS.

Use winedbg, set a breakpoint on load_VDMX(), step through it until the
2nd WineEngGetFontData() (that one is failing!), then step through it
until you know what exactly fails.

Maybe even a simple freetype upgrade might resolve the issue?
(in that case we'd need to know which freetype version is problematic)

Andreas Mohr

-- 
No programming skills!? Why not help translate many Linux applications! 
https://launchpad.ubuntu.com/rosetta




Re: fixme:font:load_VDMX Failed to retrieve vTable

2005-12-09 Thread Huw D M Davies
On Fri, Dec 09, 2005 at 10:53:33AM +0100, Curro Amores wrote:
 hi my reports are not well displayed on my access97 app.
 
 fonts are displayed i anora location and separed
 I got this fixme
 
 fixme:font:load_VDMX Failed to retrieve vTable
 
 
 somebdoy knows how to fix it?

It just means that the font doesn't have a VDMX table.  The reason
there's a fixme there is that I'm not sure whether we correctly scale
the font in that case.

Huw.
-- 
Huw Davies
[EMAIL PROTECTED]