Skip to content
⌘ NSIS Forum Archive

problem with font registration

2 posts

Freezerman350#

problem with font registration

Question about fonts register

I use for a long time fonts.dll

but i got ome prebleme with it on win2000 and win 2003 server...

can you help me ?

here my code
    SetOutPath "$WINDIR\Fonts"
    File "file\NEUROPOL.ttf"
    GetTempFileName $R0 
    File /oname=$R0 fonts.dll 
    Push "NEUROPOL.ttf" 
    CallInstDLL $R0 registerFont 
kichik#
Split from unrelated thread.

As for your problem, you should include more details. What is this problem you're talking about? Why are you calling fonts.dll with CallInstDLL? Why not as a plug-in? Why are you using $WINDIR\Fonts instead of $FONTS?