Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setup fonts?
Message
De
24/09/1999 13:50:11
Rich Lieblich
Infosys Technologies, Inc.
Fanwood, New Jersey, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00265937
Message ID:
00268628
Vues:
27
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform