Archive: Error with Font


Error with Font
Hello,
I am trying to write a script where a font will be installed, but am getting an error. My error report is:
!insertmacro: InstallTTFFont
Push: $R0
Push: $R1
Push: $R2
!define: "Index"="Line66.5"
SetOutPath: "$FONT_DIR"
IfFileExists: "$FONT_DIR\v2dlx.ttf" ? Line66.5 :
File: "v2dlx.ttf" [compress] 0/69020 bytes
ReadRegStr $R0 HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CurrentVersion
IfErrors ?Line66.5-9x:Line66.5-NT
StrCpy $R1 "Software\Microsoft\Windows NT\CurrentVersion\Fonts" () ()
Goto: Line66.5-GO
StrCpy $R1 "Software\Microsoft\Windows\CurrentVersion\Fonts" () ()
Goto: Line66.5-GO
ClearErrors
!insertmacro: FontName
Push: $FONT_DIR\v2dlx.ttf
Call "TranslateFontName"
Invalid command: FontName::Name
Error in macro FontName on macroline 3
Error in macro InstallTTFFont on macroline 25
Error in script "C:\Gameguis\drbgame\Diploware.nsi" on line 66 -- aborting creation process

Are there any suggestions as to what might be the trouble? I have uploaded my scripts. I very much appreciate any assistance.

Andrew


NSIS cannot find the fontname plugin