Reputation: 77
I have an application in which one function creates a XXX.fot file from XXX.ttf file using the "CreateScalableFontResource( 0, szFont, "hel_grid.ttf", szInstall )" call. This call works fine on Windows 7 but does not work on Windows 10. Any one has any idea are there any known issues for this functions compatibity with windows 10? The project was built on VC6.
Upvotes: 1
Views: 743
Reputation: 77
If the ttf file is not present in the "szInstall" path, the function fails in Windows 10 and the code progresses. So the solution was to delete or rename the ttf file in the "szInstall" path. If the ttf file is present, the CreateScalableFontResource() function just gets stuck (hangs) and never returns. This was causing my application not to complete the next steps.
Upvotes: 0