• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Blank fonts.

CU

Platinum Member
We are using D3DXCreateFontIndirect to create fonts for our games. Sometimes when we do a full clean which deletes the font file and then build a different game tree in source safe, when run the game D3DXCreateFontIndirect fails with out of memory. Well it turns out the font file futura.ttf is blank when you double click on it in windows, and we believe that is what is causing the problem. The only fix seems to be to reboot the computer. The file is not corrupt because it looks fine on other computers and other computers' futura.ttf file are blank on this computer. What could cause this? It seems to only happen sometimes after a clean / rebuild.
 
I don't know enough about d3d and fonts to give you an answer, but it sure sounds like some record that DirectX/Windows maintains with respect to that specific file is getting borked, and not fixed until the libraries are reloaded at boot.
 
Yeah that seems to be the only think I can of think of also. Windows must keep a record that relates to that futura.ttf, and once that file has been deleted no other futura.ttf will work until a restart. But, I don't have a clue as to how to fix the problem. I have found the problem mentioned a few times during my google searches, but every time the only solution was to reboot, and no reason was given as to the cause of it.
 
Back
Top