[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [3/3] gdiplus: Make GdipMeasureCharacterRanges/GdipMeasureString/GdipDrawString add extra
From:       Dmitry Timoshkov <dmitry () baikal ! ru>
Date:       2012-08-28 5:57:43
Message-ID: 20120828145743.49a8ef88.dmitry () baikal ! ru
[Download RAW message or body]

Vincent Povirk <madewokherd@gmail.com> wrote:

> > If there are only cosmetic objections, I'd like to see this patch accepted,
> > and work of further improvements after that.
> 
> I asked Alexandre to wait until I had more time to understand/test this patch.
> 
> It seems you've introduced a problem with scaling (see attached test
> program and screenshot). I think that MeasureString is working
> correctly in this case, and DrawString/MeasureCharacterRanges are
> wrong.

Thanks for the test program, it's pretty illustrative. I sent another version
of the patch that should take scaling and world transform into account.

> This sort of problem would be less likely if the logic were in
> gdip_format_string.

I still think that it's more important to make these APIs behave correctly
first, and only then try to optimize/merge/redesign the logic behind them.

-- 
Dmitry.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic