[PATCH 1/5] d3dx9: Handle DT_SINGLELINE in ID3DXFont_DrawText.
sbaars at codeweavers.com
Mon Mar 16 05:07:35 CDT 2020
On 13-03-2020 17:20, Matteo Bruni wrote:
> On Tue, Mar 10, 2020 at 11:22 AM Sven Baars <sbaars at codeweavers.com> wrote:
>> @@ -617,6 +625,9 @@ static INT WINAPI ID3DXFontImpl_DrawTextW(ID3DXFont *iface, ID3DXSprite *sprite,
>> if (format & DT_CALCRECT)
>> format |= DT_NOCLIP;
>> + if (format & DT_SINGLELINE)
>> + format &= ~DT_WORDBREAK;
> I don't think we have a test for this specific case at the moment, it
> would be nice to have one.
I added some more tests for this in my updated patch series.
More information about the wine-devel