Dave Nottage 557 Posted February 24, 2020 Some code I'm working with uses AddFontResource or AddFontResourceEx - both return a positive value (in this case 1), so according to the documentation the font is added successfully, however they are not actually displaying correctly. The problem happens only on certain machines, in this case Getac Windows Tablet (F110 and T800 models), but the fonts are displayed correctly using the same application on a Microsoft Surface. All machines are using an administrator user account. Any ideas as to why it does not work on the machines in question? Share this post Link to post
David Heffernan 2345 Posted February 24, 2020 Quite possibly depends on the font files as well. Can't imagine this is related to Delphi. Share this post Link to post
Hans♫ 75 Posted February 24, 2020 (edited) On Firemonkey there is a problem loading fonts dynamically, so maybe its related to that? https://quality.embarcadero.com/browse/RSP-16207 Edited February 24, 2020 by Hans♫ Share this post Link to post
Anders Melander 1783 Posted February 24, 2020 3 hours ago, Dave Nottage said: The problem happens only on certain machines, in this case Getac Windows Tablet (F110 and T800 models) Have you tried installing the fonts manually on these machines? Share this post Link to post
Dave Nottage 557 Posted February 24, 2020 2 hours ago, Hans♫ said: On Firemonkey there is a problem loading fonts dynamically, so maybe its related to that? I think you may be right. 1 hour ago, Anders Melander said: Have you tried installing the fonts manually on these machines? No, since the goal is to not have them installed. Having said that, I have a bad feeling that the machines on which it does work may have the font already installed (not sure if anyone actually checked), especially given Hans' answer. I'll know for sure tomorrow. Share this post Link to post