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