Antonio and friends,
Exists a way to call a file of font like .ttf without installing it on windows?
Júlio César M. Ferreira
FWH 8.10 / xHB 1.1.0 / xDevStudio 0.72 / Pelles C 5.0.1 / SQLLIB 1.9
Antonio and friends,
Exists a way to call a file of font like .ttf without installing it on windows?
Hello JC,
as far as i know, a font must be installed.
That is the problem : If You use nice fonts inside Your
application and it is not installed on the computer of Your customer,
You will have a problem. You have to deliver the font with Your
application as well.
For that reason, it is better to use windows-standard fonts like
Arial, Comic Sans Ms Standard, Ms Sans Serif, Times New Roman....
Regards
Uwe ![]()
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 systemHello JC,
I think, it is the same.
You install a font with Your application, instead with the MS-Font-Manager,
but You want to use a NOT installed font ?
Regards
Uwe ![]()
Uwe,
I found a font to transform codes alphanumerics into bar codes and it's very simple and functional.
I have think if this will be the best solution? Or with highest easy then?
Hello JC,
I think, it is the only solution, if You need it.
Regards
Uwe ![]()