Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using fonts
Message
 
To
06/02/2000 23:34:27
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00328134
Message ID:
00328636
Views:
19
>How do i deliver my application with the fonts that i have used be automatically installed to.
If your app uses a font not available through windows, like foxfont, this guy sometimes works.
Copy the font to your exe directory before you build a deployable.
if file('foxfont.fon')
if [NT]$os()
if !file('c:\winnt\fonts\foxfont.fon')
run copy foxfont.fon c:\winnt\fonts\foxfont.fon
Endif && Winnt
Else && We is a windows system
if !file('c:\windows\fonts\foxfont.fon')
run copy foxfont.fon c:\windows\fonts\foxfont.fon
Endif && No font in fonts
Endif && NT//Windows
DECLARE INTEGER AddFontResource IN WIN32API AS AddFontResource STRING
x=AddFontResource("foxfont.fon")
CLEAR DLLS
erase foxfont.fon
Endif && FoxFon Local
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform