[1/2] wineps.drv: Implement GetGlyphIndices.

Dmitry Timoshkov dmitry at baikal.ru
Wed Jan 23 05:19:17 CST 2013


Alexandre Julliard <julliard at winehq.org> wrote:

> >> >> ExtTextOutW calls GetTextExtentExPointI for the (char_extra || dc->breakExtra)
> >> >> case, and one of its helpers unconditionally calls dc->GetGlyphIndices and
> >> >> dc->GetTextExtentExPointI which crashes for a wineps.drv device.
> >> >> 
> >> >> These 2 patches make ExtTextOutW work in this case.
> >> >
> >> > What is the reason that these patches are marked as pending?
> >> 
> >> They shouldn't be needed. f496a5a0e6 probably addresses the issue.
> >
> > Yes, it does for that particular case, thanks. But direct calls to those
> > APIs will still cause the same problem.
> 
> I don't see how. Do you have a test case?

No, my use case is different. But looking at the code at least GetGlyphIndices()
calls the driver wihout checking whether it exports that entry point.

-- 
Dmitry.



More information about the wine-devel mailing list