Archive: UMUI Installer Images out of Shape (Installer in Japanese Language)


UMUI Installer Images out of Shape (Installer in Japanese Language)
Hi Super Pat & NSIS Community,

I have received a late requirement from my customer that my Multi-language UMUI Installer should also run in Japanese language. (It currently runs in English, German & French)

Using UMUI and after adding the Japanese language support (!insertmacro MUI_LANGUAGE "Japanese"); as I execute my installer, the left, header and footer images are all not alligned.

I have attached a zipped sample screen shot with this post (UMUI_Inst_JapaneseLanguage.JPG). As seen from the attached image, the left, header and footer bitmap images are out of shape as I execute the installer in Japanese language.

This seems to only happen if I execute the installer running on East Asian languages (Japanese, Chinese, Korean). It does not affect english and other european languages (Refer to the zipped attached UMUI_Inst_JapaneseLanguage.JPG)

I tried resizing the left image bitmap, but though it seems to improve the display in Japanese language, the English Installer images now are out of shape.

For your information, my PC DPI is set as 96 DPI (Standard). I have raised a similar issue before, but the previous issue was related with PC DPI settings[http://forums.winamp.com/showthread....highlight=UMUI]. In this issue, although I am using the normal 96 DPI, the UMUI Installer in Japanese/East Asian languages run out of shape.

If you want to simulate this issue, you could try executing the "MultiLanguage.nsi" inside the Ultra Modern UI examples. Select Japanese, Chinese or Korean languages to simulate this problem.

Please advice me on this issue. Are there any countermeasures?

Thanks very much!


Hi,

Could anyone please help me with this issue above?

I would like to know if anyone out these is facing the same problem and know of any possible countermeasures.

Grateful for any replies on this issue.

Thanks very much.


Hello,

You can test to edit the Contrib\UltraModernUI\UMUI.nsh
and replace all the
SetBrandingImage
by
SetBrandingImage /RESIZETOFIT

I cannot test if this fix works well at the moment.


Hi SuperPat,

I have taken your advice and added "/RESIZETOFIT" to the "SetBrandingImage" strings in UMUI.nsh.

It works great. My multilanguage installer is able to excute in Japanese language with the branding images properly aligned.

Problem fixed!

Thanks a million.

"You have restored my faith into UMUI"