[Bug 33378] measuring/painting strings needs better tests

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Aug 2 22:59:57 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=33378

--- Comment #11 from Rafał Mużyło <galtgendo at o2.pl> 2013-08-02 22:59:57 CDT ---
(In reply to comment #10)
> (In reply to comment #9)
> > ...of course, given the status of plain C API of gdiplus by Microsoft, there's
> > a chance it's only reproducible only with C++ API and PointF& version of
> > DrawString calls.
> 
> There is no such a thing as C++ gdiplus API.
> 
Sure there is.
I.e. 
Graphics.DrawString(const WCHAR*, INT, const Font*, const PointF, const Brush*)

But it seems at least *parts* of it aren't implemented in wine.
At very least namespacing seems broken.

> (In reply to comment #8)
> > With my hack, the string is drawn, without it - not.
> > Now, a result from Windows is necessary, but even I was registered on
> > WineTestBot (which I'm not), with this code there's only eyeball test.
> 
> You need to write the tests and run them under Windows before you'll start
> to play with them under Wine, otherwise it's pretty easy to confuse yourself
> with controversial results.
> 

...and I would build them with...
That's assuming I'd be willing to install the whole toolchain under Windows
(and that's assuming it would be an option for me in the first place).

With 6ab04040e52465e77558a067309e8a54bdc0f32c regression being clear, somebody
does need to test it with Windows, but, as I said, I'm unsure if C++ won't be
needed to show it.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list