I've been trying to get the lpDx array to be properly calculated, but unfortunately to no avail. I did find, though, that GetTextExtentExPointW is never called with a maxExt value other than zero, and thus nfit is not calculated.
<br><br>Regarding that, would any of you know where I should look for the proper
method of calculating the maximum width (maxExt) of a formatted string?
I&#39;m somewhat puzzled... neither lprect nor dc-&gt;BoundsRect seem to hold the proper values
for getting that value [1], or (more likely, I guess) I&#39;m just looking at it the wrong way.<br><br>Btw, I&#39;d add that I&#39;ve been testing this in Lotus Notes R5, just in case it helps, and no, I haven&#39;t found a link to download a trial. [2] [3]
<br><br>Cheers,<br>Pedro.<br><br>[1]
I&#39;m investigating the SetTextJustification, ExtTextOutW,
GetTextExtentPointW, GetTextExtentPoint32W, GetTextExtentExPointW, and
WineEngGetTextExtentExPoint functions from gdi32 (the latter in
freetype.c, the rest in font.c). I am yet to look into their *I counterparts, where applicable.<br><br>[2] <a href="http://appdb.winehq.org/viewbugs.php?bug_id=50">http://appdb.winehq.org/viewbugs.php?bug_id=50</a><br><br>
[3] <a href="http://bugs.winehq.org/show_bug.cgi?id=7016">http://bugs.winehq.org/show_bug.cgi?id=7016</a><br>