i use the following codes to install a font,it seemed to have worked,for i found the font in the control pannel and register.
-----------------------------------
Section -Fonts
StrCpy $FONT_DIR "$WINDIR\Fonts"
SetOutPath "$FONT_DIR"
File "src\MSYH.TTF"
;!insertmacro InstallTTF "src\MSYH.TTF"
!insertmacro InstallTTFFont "src\MSYH.TTF"
SendMessage ${HWND_BROADCAST} ${WM_FONTCHANGE} 0 0 /TIMEOUT=5000
SectionEnd
-----------------------------------
but there was an error during the installing:
it gave an information box:
"用于NSISçš„å_—体åç§° %s æ’ä»¶" (in Chinese)
and there was also a line of text displaying on the progress bar:
"cann't load c:\document..\FontName.dll"
but i can find the dll in the right directory!
Why?
Anybody has encountered this problem?
Thanks!
InstallTTFFont succeeded but Display an error messagebox!
3 posts
Nobody has encounterde this problem?
I find in the FontName.nsh the following code:
----------------------------------------------
StrCmp $LANGUAGE 2052 0 End-2052 ; Chinese (Simplified) by Kii Ali <kiiali@cpatch.org>
Push "错误的å_—体版本"
Push "æ˜_射文件地å€é”™è¯¯: %u"
Push "æ˜_射文件错误: %u"
Push "æ—_效的文件大å°: %u"
Push "æ—_效的文件柄程: %u"
Push "用于 NSIS çš„å_—体åç§° %s æ’ä»¶"
goto ${Index}
End-2052:
----------------------------------------------
What errors does the last Push mean?
I find in the FontName.nsh the following code:
----------------------------------------------
StrCmp $LANGUAGE 2052 0 End-2052 ; Chinese (Simplified) by Kii Ali <kiiali@cpatch.org>
Push "错误的å_—体版本"
Push "æ˜_射文件地å€é”™è¯¯: %u"
Push "æ˜_射文件错误: %u"
Push "æ—_效的文件大å°: %u"
Push "æ—_效的文件柄程: %u"
Push "用于 NSIS çš„å_—体åç§° %s æ’ä»¶"
goto ${Index}
End-2052:
----------------------------------------------
What errors does the last Push mean?
My OS is Windows Embedded Standard.
Help me out , please!
Help me out , please!