|
-
Aug 25th, 2000, 09:16 PM
#1
Thread Starter
Addicted Member
Hi,
Can anyone tell me how to register Your own .fon so your program can use it after instalation?
Thanks
-
Aug 26th, 2000, 04:30 AM
#2
do you mean font files?
the usual file extension is .TTF
fonts are automatically retained in the P&DW package.
-
Aug 26th, 2000, 06:28 AM
#3
Monday Morning Lunatic
Enter the font name and filename into this registry key: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Fonts
(take a look to see how it's set out first, though)
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Aug 26th, 2000, 04:43 PM
#4
Thread Starter
Addicted Member
No, I mean fonts with .fon extentions
-
Aug 26th, 2000, 04:44 PM
#5
Monday Morning Lunatic
You use that key for .fon files as well.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Sep 4th, 2000, 03:36 AM
#6
Frenzied Member
But how about for when another person installs the program on his PC? He should do the same, right?
Can it be done in code?
Wen Gang, Programmer
VB6, QB, HTML, ASP, VBScript, Visual C++, Java
-
Sep 4th, 2000, 04:22 AM
#7
Monday Morning Lunatic
Yes, it can. Simply use your program to add a registry key for the font. I think you need to use the exact font name or it will get confused...not sure though. For some registry code go here: http://www.parksie.uklinux.net/registry.zip
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Sep 4th, 2000, 06:01 AM
#8
Conquistador
there is also a registry tutorial, i believe, on this site
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|