Jump to content
Sign in to follow this  
Dave Nottage

AddFontResource/Ex not working on some machines

Recommended Posts

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
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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×