Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Loading TTF font in C++

Author
Message
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 4th Jun 2008 11:21
DarkGDK Load Font command does not allow you to open a ttf font file from your game directory. The font has to be installed properly in Windows.

Would this be possible to do in C++ ?

If so, any hints to what lib calls I might need?
jinzai
18
Years of Service
User Offline
Joined: 19th Aug 2006
Location: USA
Posted: 4th Jun 2008 15:27 Edited at: 4th Jun 2008 15:28
Absolutely...AddFontResourceEx / RemoveFontResourceEx
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 5th Jun 2008 10:47
fantastic Jinzai!

you always save my day!

works 100% perfectly!

Login to post a reply

Server time is: 2024-11-17 17:21:58
Your offset time is: 2024-11-17 17:21:58