Hi,
I have a Font file and want to create the font without installing it to the system...
I know how to create system fonts (with createFont(...)) but how would I go about loading/creating a (temporary) font from a file ???
system: Windows (XPpro)
maybe someone has a clue and can give me a code snippet !?!?!
thx. Acki
(solved) Loading Font From File
(solved) Loading Font From File
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
haha, I got it !!!
it's so easy...
it's so easy...
Code: Select all
// load a font from file
AddFontResource("theFontFile.ttf");
// free memory from the loaded font
RemoveFontResource("theFontFile.ttf");
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java