Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

External Font Usage. How?

Status
Not open for further replies.

dex1123

Programmer
May 9, 2000
35
BG
Hi there!<br><br>I am really stuck and I will greatly appreciate any kind of help. I have a<br>font file (.TTF) which has non-standard symbols in it and that's why I need<br>to distribute it with my program. The problem is that I don't know the way<br>to install the font on the remote system so I can use it. And is there a way<br>to make my font work directly without installing it to Windows but just<br>using it as an external file or resource. I really need to know how this is<br>done. Any help is welcome! :-(&nbsp;&nbsp;Thank you in advance.<br><br>Best regards: Ivan<br><br>
 
Hi!<br>In Delphi Win32API help see next functions:<br><br>int AddFontResource(LPCTSTR lpszFilename);<br>BOOL RemoveFontResource(LPCTSTR lpFileName );<br>BOOL CreateScalableFontResource(<br>&nbsp;DWORD fdwHidden,<br>&nbsp;LPCTSTR lpszFontRes,<br>&nbsp;LPCTSTR lpszFontFile,<br>&nbsp;LPCTSTR lpszCurrentPath );<br>and see topic &quot;Font Installation and Deletion&quot;.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Vladimir.
 
Thanks a lot! I'll give this one a try. ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top