i don''t get it, what is wrong with programmatically copying the font into the fonts directory? you could manually copy, or you could try something with one of the _exec functions, or something similar.
ewen
Tolkien Fonts :)
_DarkWIng_:
This is what I''m using in my entry.
Check out AddFontResource() and RemoveFontResource();
This is what I''m using in my entry.
Check out AddFontResource() and RemoveFontResource();
JohnBSmall : If I use ttf I can create fonts stexture of any size (1024x1024x32) from only about 50k long file. Compare that with +1Mb texture file os same size.
echeslack : I tried that first but somehow it doesn''t work.. I realy don''t know why.
Shannara : I''ll try that.
There are more worlds than the one that you hold in your hand...
echeslack : I tried that first but somehow it doesn''t work.. I realy don''t know why.
Shannara : I''ll try that.
There are more worlds than the one that you hold in your hand...
You should never let your fears become the boundaries of your dreams.
installing fonts with your app is pretty simple, just do:
const char
*FILE_FONT_RESSOURCE_STRING="\
Data/Fonts/Rune_d.ttf|\
Data/Fonts/Rune_d1.ttf|\
Data/Fonts/Rune_d2.ttf|\
Data/Fonts/Quencap1.ttf|\
Data/Fonts/Quencap2.ttf|\
Data/Fonts/Quenya.ttf|\
Data/Fonts/Angerth.ttf\
"
;
and when you process the WM_CREATE message:
if(bNewUser){
AddFontResource(FILE_FONT_RESSOURCE_STRING);
SendMessage(HWND_BROADCAST,WM_FONTCHANGE,0,0);}
okee, cya
"Shadow of annoyance Ne''''er come hither! ...And when He falleth, He falleth like Lucifer, Ne''''er to ascend again..."
TOT
const char
*FILE_FONT_RESSOURCE_STRING="\
Data/Fonts/Rune_d.ttf|\
Data/Fonts/Rune_d1.ttf|\
Data/Fonts/Rune_d2.ttf|\
Data/Fonts/Quencap1.ttf|\
Data/Fonts/Quencap2.ttf|\
Data/Fonts/Quenya.ttf|\
Data/Fonts/Angerth.ttf\
"
;
and when you process the WM_CREATE message:
if(bNewUser){
AddFontResource(FILE_FONT_RESSOURCE_STRING);
SendMessage(HWND_BROADCAST,WM_FONTCHANGE,0,0);}
okee, cya

"Shadow of annoyance Ne''''er come hither! ...And when He falleth, He falleth like Lucifer, Ne''''er to ascend again..."
TOT
"Shadow of annoyance Ne''er come hither! ...And when He falleth, He falleth like Lucifer, Ne''er to ascend again..."
TOT
TOT
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement