|
|
#1 |
|
Junior Member
Join Date: Jan 2003
Posts: 8
|
Register Fonts without restarting?
I read a older post and i cant get anything to work can someone Help me out ....
someone posted a Fonts.Dll file that was supposed to do it here is some of my code PHP Code:
|
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Sep 2002
Location: At [4C69:6E6B]
Posts: 561
|
If you NSIS 2.0b or the latest CVS, you can put the fonts.dll-file in the 'Plugins'-directory of your NSIS installation. In the script, extract the font in a temproary directory using File and GetTempFileName. Then you can use the following code instead of your own code (change CFBSFONT.TTF to a suitable path):
PHP Code:
If there are still any questions, post your complete script as an attachment and someone will help you if possible. - Claudia Pelsmaeker |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jan 2003
Posts: 8
|
Im a total noob to NSIS just so you know...
ok i added the fonts::registerFont "CFBSFONT.TTF" but it still doesnt work i dont know what to do about the reg strings could you give me some help... it has to be able to work with all windows os's |
|
|
|
|
|
#4 |
|
Major Dude
Join Date: Sep 2002
Location: At [4C69:6E6B]
Posts: 561
|
I have changed your script, but the file is currently at another computer. I will post it in the afternoon in this thread. B.t.w. I couldn't test it, since I don't have fonts.dll installed and i don't have the files you have (including the font).
- Claudia Pelsmaeker |
|
|
|
|
|
#5 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,337
|
The way you are installing the VB files in this script is not the best way. Please see: http://nsis.sourceforge.net/archive/....php?pageid=47
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|