Vertical font problem

paolo inzaghi winedev at hotmail.com
Thu May 6 07:33:50 CDT 2004


In attachment the zip file containing the Visual Studio project.

Regards,
Paolo


>From: Shachar Shemesh <wine-devel at shemesh.biz>
>To: paolo inzaghi <winedev at hotmail.com>
>CC: wine-devel at winehq.org
>Subject: Re: Vertical font problem
>Date: Wed, 05 May 2004 20:02:34 +0300
>
>paolo inzaghi wrote:
>
>>Hi,
>>I'm porting a Windows application to Wine and I found 2 problems.
>>For simplicity I wrote a simple Window application (attached to the mail) 
>>that use two TextOut to write the strings "Horizontal" and "Vertical".
>>The text is written horizontally and vertically, setting the lfEscapement 
>>field of the LOGFONT structure respectively to 0 and 900.
>>The application, compiled with MSVC 7.0, works fine in Windows, but it has 
>>two problems when it is executed inside with wine-20040408 environment.
>>
>>First problem:
>>after the application starts, the two strings are not shown.
>>To see the strings in Linux, I force the sending of a WM_PAINT message 
>>when the user right click the mouse.
>>By the way, if you minimize and then restore the application, the strings 
>>disappear.
>>
>>Second problem:
>>even when shown, the vertical text is not correctly shown. A large amount 
>>of space is left between the string characters.
>>Note that the problem arise every time you set the lfEscapement to 
>>something different from 0.
>>If I use 3600 to show the "Horizontal" string, it also is badly shown (in 
>>theory 3600 should be equivalent to 0).
>>
>>Please, could you help me ?
>>
>>Regards
>>Paolo
>>
>Can you send the project with the zip file? I don't feel like running 
>precompiled binaries in this day and age.
>
>          Shachar
>
>--
>Shachar Shemesh
>Lingnu Open Source Consulting
>http://www.lingnu.com/
>

_________________________________________________________________
Invia allegati fino a 20MB con Hotmail Extra Storage! Provalo! 
http://join.msn.com/?pgmarket=it-it&page=hotmail/es
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ModuleName.zip
Type: application/x-zip-compressed
Size: 28099 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20040506/1280b2e5/ModuleName.bin


More information about the wine-devel mailing list