[Qtce-preview-feedback] Qt and Windows CE 5.0 TrueType Problem
Maurice Kalinowski
mkalinow at trolltech.com
Wed Mar 26 11:07:56 CET 2008
Hi again,
George H. Locktish wrote:
> I do have the OS configured with TrueType font support. Currently, I
> have the Tahoma font installed. Are there certain fonts that are
> required to be installed on the system?
>
No, Qt/WinCE should be independent from what fonts are installed. We
have recognized issues with raster fonts in the past, but as far as I
know, these have been fixed in the meantime.
> The DEBUGCHK message prevents the application from running entirely.
>
> The stack trace from Platform Builder is:
> GWES!Gdi::ExtTextOutW_I(HDC__ * 0x003602e4, int 16, int 12, unsigned int
> 16, const tagRECT * 0x00000000, const unsigned short * 0x18917ad0,
> unsigned int 1, const int * 0x00000000) line 1590 + 60 bytes
>
> NK!SC_ExtTextOutW(HDC__ * 0x00000000, int 412187344, int 1, unsigned int
> 0, const tagRECT * 0x838f5b6c, const unsigned short * 0x0a000000,
> unsigned int 2205825960, const int * 0x00000000) line 974 + 76 bytes
>
> COREDLL!ExtTextOutW(HDC__ * 0x003602e4, int 16, int 12, unsigned int 16,
> const tagRECT * 0x00000000, const unsigned short * 0x18917ad0, unsigned
> int 1, const int * 0x00000000) line 615 + 72 bytes
>
> 181fb47c()
>
Using a search engine forwarded me to the following link:
http://www.tech-archive.net/Archive/WindowsCE/microsoft.public.windowsce.platbuilder/2004-11/0456.html
This describes a similar situation, where an exception is caused by a
missing setting in platform builder. Maybe this already helps you?
>
> The call stack only contains the symbols from the system DLLs. I have
> built the Qt GUI application in debug mode, but I am not getting debug
> symbols.
>
This is very unfortunate. In case above link did not help you, could you
please set a breakpoint at the locations, where we call ExtTextOut and
check which one of these is causing the problem? There are only few
where we pass on to the native call:
<qtdir>/src/gui/painting/qpaintengine_raster.cpp:5253
<qtdir>/src/gui/painting/qpaintengine_raster.cpp:5288
<qtdir>/src/gui/painting/qpaintengine_raster.cpp:5296
It should fail at one of these locations. To be 100% sure we have two
calls in the compatibility file in
<qtdir>/src/gui/kernel/qguifunctions_wince.cpp, but these are there for
legacy reasons and should not affect you.
Thank you very much for your help in advance.
Best Regards,
Maurice Kalinowski
More information about the Qt-wince-interest
mailing list