ttf-font without installing

Posted By: Kartoffel

ttf-font without installing - 12/17/14 16:33

Hey there,

is there any way to use a ttf-font without installing it?
Posted By: Superku

Re: ttf-font without installing - 12/17/14 18:16

Yes, google "AddFontResource"!
Posted By: Kartoffel

Re: ttf-font without installing - 12/17/14 18:39

cool, thanks!
Posted By: Kartoffel

Re: ttf-font without installing - 12/21/14 12:53

wow, that's really easy >_> thx.

If anyone else wants to know:

you have to call AddFontResource("<filename>");
and after that you can create a font by using ... = font_create("<fontname>");
© 2024 lite-C Forums