Antonio and friends,
Exists a way to call a file of font like .ttf without installing it on windows?
Function AddFontResource
Adds a new font to the Windows font table
Syntax:
AddFontResource( <cFontFile> | <hFontResource> ) \\ <nFontsAdded>
This function add a font resource to the Windows font table. Any application can then use the font.
Parameters:
<cFontFile> The name of an external file where we have stored some fonts we want to use in our application.
<hFontResource>The handle of a module (DLL) where we have stored some fonts we want to use in our application.
Returns:
<nFontsAdded> The number of fonts the system
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 91 guests