[PATCH] usp10: Re-use script caches for the same DC.

Thomas Faber thomas.faber at reactos.org
Sat Jan 13 18:46:09 CST 2018


On 2018-01-13 21:44, Nikolay Sivov wrote:
> Is it reused if you select different font between calls?

As far as I can tell, the application is responsible for invalidating
its uniscribe data if the font changes (which would involve calling
ScriptFreeCache, thus dropping the refcount and preventing reuse).
Wine's usp10 so far never seems to invalidate a script cache.

That said, I'm not really sure about that at all, so I'll look at adding
some tests for a scenario like that.

Thanks,
Thomas



More information about the wine-devel mailing list