Re: Uniscribe improvements

2007-01-02 Thread Jeff L
* * wrote: "If the device context is passed as NULL and Uniscribe needs to access it for any reason, Uniscribe returns the error code E_PENDING. This code is returned quickly, allowing the application to avoid time-consuming SelectObject calls." Whereas the current implementation will silently a

Re: Uniscribe improvements

2007-01-02 Thread * *
On 1/2/07, Jeff L <[EMAIL PROTECTED]> wrote: * * wrote: > > According to MSDN, the "pending" error is to give the calling app a > chance to select the matching font back into the DC if the information > wasn't cached. I think that the get_script_cache function is broken, > in that it should retu

Re: Uniscribe improvements

2007-01-02 Thread Jeff L
* * wrote: According to MSDN, the "pending" error is to give the calling app a chance to select the matching font back into the DC if the information wasn't cached. I think that the get_script_cache function is broken, in that it should return the pending error if the HDC isn't provided, since

Re: Uniscribe improvements

2007-01-02 Thread * *
On 1/2/07, Hans Leidekker <[EMAIL PROTECTED]> wrote: On Tuesday 02 January 2007 19:42, * * wrote: > StringAnalysis should have a cache object, not save the HDC directly. I agree, although you shouldn't free the cache in ScriptStringFree, the caller is responsible for that. > One of the importa

Re: Uniscribe improvements

2007-01-02 Thread Hans Leidekker
On Tuesday 02 January 2007 19:42, * * wrote: > StringAnalysis should have a cache object, not save the HDC directly. I agree, although you shouldn't free the cache in ScriptStringFree, the caller is responsible for that. > One of the important things about the cache, which wine currently > doesn

Re: Uniscribe improvements

2007-01-02 Thread Marcus Meissner
On Tue, Jan 02, 2007 at 12:42:25PM -0600, * * wrote: Please use your real name. To avoid problems with ligitation later on we need it for tracking. Ciao, Marcus