Some Xojo apps are much slower on Sierra

What do I do with the NSFontManager then? Check out the styles (bold etc) and try to fish out the correct font?

get the font manager and ask it to get the font by family name with the traits you want (bold italic etc)
https://developer.apple.com/reference/appkit/nsfontmanager/1462332-font

in theory

[quote=320820:@Norman Palardy]The fact that we have been doing all the correct PS font name look up for the last 5+ years and this is really the first major bug we’ve run into (which may not be our fault) suggests that maybe it was done pretty decently way back when :stuck_out_tongue:

[/quote]

While that’s generally true, I do want to point out that the current implementation is not without it’s pitfalls. For instance, in each of the font examples I tested where the PS and DisplayName matches (Helvetica, Verdana, Tahoma), yielding good speed performance, neither bold nor italic work. This is not only on Sierra, but going back to at least Yosemite. My clients can either enjoy fast scrolling performance or bold/italic support but not both. So I think this issue does indeed warrant another look going forward.

Quick question on this issue. For apps that don’t really need to be concerned about the user’s choice of font, but are just concerned about the speed issue on Sierra, can we as the developer, just set the font to one of the PS variants such as ArialMT in our code and that will take care of the issue? Or pick one of the other fonts mentioned above like Helvetica that have the same PS and DisplayName?

That’s dictation rather than Siri though, isn’t it?

True. Same underlying speech recognition tech though.

So Alexa in the next room hears it better?

… but Alexa is a snitch. :wink: