Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setup fonts?
Message
From
24/09/1999 13:50:11
Rich Lieblich
Infosys Technologies, Inc.
Fanwood, New Jersey, United States
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00265937
Message ID:
00268628
Views:
28
John,

I have an app that requires particular fonts for a report. I simply included the .TTF file for the font in my project home directory and then placed this code in my setup .prg:

os_path=getenv('windir') && must accomodate BOTH 95/98 and NT!
curr_dir=sys(5)+sys(2003)
if !file(os_path+"\fonts\coprgtb.ttf")
copy file curr_dir+"\coprgtb.ttf" to os_path+"\fonts\coprgtb.ttf"
endif

This installs the Copperplate Gothic Bold font needed by my app.... Rich
Previous
Reply
Map
View

Click here to load this message in the networking platform