Hi everyone!
I'd like to install some .ttf font under windows.
Could anyone give me a piece of code that does the thing or does anybody know any tutorials on how to do it properly?
Thanks in advance.
Hi everyone!
I'd like to install some .ttf font under windows.
Could anyone give me a piece of code that does the thing or does anybody know any tutorials on how to do it properly?
Thanks in advance.
Never tried, but how about AddFontResourceEx()
I have tried with AddFontResourceEx(). It also adds font entry in to the system. I mean I was able to see new installed fonts in to the font list appear in MS Word or Wordpad. But when i wrote with this new fonts characters were not matched with this font.
So I think still something is missing........I am trying for that.
Chintan R Naik
Thanks.
I've already solved this using CopyFile() to copy font file to
%windir%/fonts.
And AddFontResource() is used for temporary installations only....
----------------------------------------------------------------------------
I've already solved this using CopyFile() to copy font file to
%windir%/fonts.
----------------------------------------------------------------------------
Hey....Only copy font file to %windir% is enough to install font ?
Chintan R Naik