DllExport: Wizard. Incorrect layout for zh_CN Simplified Chinese

Mentioned here https://github.com/3F/DllExport/issues/59#issuecomment-347938015

Today I installed zh_CN Simplified Chinese for system:

win10lang

However, I still can’t reproduce this:

win10layout_zh_cn

chcp:

20936	x-cp20936	Simplified Chinese (GB2312); Chinese Simplified (GB2312-80)
50227	x-cp50227	ISO 2022 Simplified Chinese; Chinese Simplified (ISO 2022)

I don’t have initial zh_CN .iso so it really hard to debug this while I can’t see problem.


Cc: @Genteure

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 20 (20 by maintainers)

Commits related to this issue

Most upvoted comments

@Genteure, Thank you again, the final changes merged into master. /build 95

image

Probably caused by different default font? I’m using en_US as my system language at the moment, is default font decided at install?

PS E:\> Add-Type -AssemblyName System.Drawing
PS E:\> [System.Drawing.SystemFonts]::DefaultFont

FontFamily       : [FontFamily: Name=SimSun]
Bold             : False
GdiCharSet       : 134
GdiVerticalFont  : False
Italic           : False
Name             : SimSun
OriginalFontName :
Strikeout        : False
Underline        : False
Style            : Regular
Size             : 9
SizeInPoints     : 9
Unit             : Point
Height           : 14
IsSystemFont     : True
SystemFontName   : DefaultFont

Thanks! Try this changes:

DllExport -action Info -force -pkg-link https://github.com/3F/DllExport/releases/download/CI-build-94/DllExport.1.6.0.nupkg

And also check this form via MsgGuiLevel variable:

(set MsgGuiLevel=0) & DllExport -action Restore -force -pkg-link https://github.com/3F/DllExport/releases/download/CI-build-94/DllExport.1.6.0.nupkg

I squashed this into master. Check this out 2409921: https://ci.appveyor.com/project/3Fs/dllexport/build/build-77/artifacts

just a single change with bottom-line after 606a6e7

 Wizard/UI/Controls/ProjectItemControl.Designer.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Wizard/UI/Controls/ProjectItemControl.Designer.cs b/Wizard/UI/Controls/ProjectItemControl.Designer.cs
index 4dda7cc..1f39767 100644
--- a/Wizard/UI/Controls/ProjectItemControl.Designer.cs
+++ b/Wizard/UI/Controls/ProjectItemControl.Designer.cs
@@ -534,9 +534,9 @@
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.Controls.Add(this.panelBottomLine);
             this.Controls.Add(this.groupPlatform);
             this.Controls.Add(this.groupCompiler);
-            this.Controls.Add(this.panelBottomLine);
             this.Controls.Add(this.groupTimeout);
             this.Controls.Add(this.panelStatus);
             this.Controls.Add(this.gbProject);

Thanks again !

Found another issue: some useable non-english namespace can’t be used by DllExport.

well 😃 this is so because when I implemented this feature directly I used rule for null-terminated sequence: https://github.com/3F/DllExport/blob/master/NSBin/Rmod.cs#L76

But I can review this later if someone need unicode characters in namespaces.

By the way, you can also use empty/global namespaces after this - #47

PS > .\DllExport -build-info

    S_NUM:              1.6.0
    S_REV:              39116
    S_NUM_REV:          1.6.0.39116
    S_REL:              RC
    bSha1:              f3fb12d
    bName:              issue61
    bRevc:              93
    Wizard .NET:        v4.0
    Configurator .NET:  v4.0
    Configuration:      PublicRelease
    Platform:           AnyCPU
    cfgname:            Release
    revDeltaBase:       2016/10/12
    revDeltaMin:        1000
    revDeltaMax:        65534

                    :: generated by a vsSolutionBuildEvent v0.12.10.10901

image