Font size of a single character within a Label/TextBox is not as expected









up vote
0
down vote

favorite












I am writing a Chinese GUI program using Visual Studio.



I have already tested this character on Visual Studio 2008 and 2017.

This problem happen in both version.



The character I was using is (u6236).

The Font size become smaller when it is in the Form like Label, TextBox, Button text.

However, the character's size does not change in the Title Bar, Status Bar or Menu bar.



Can someone explain why this happen?



Cannot post image yet so I put down a link here.

As you can see, only this character become smaller.



enter image description here



partial class Form1

private void InitializeComponent()

this.components = new System.ComponentModel.Container();
this.button1 = new System.Windows.Forms.Button();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.label1 = new System.Windows.Forms.Label();
this.listView1 = new System.Windows.Forms.ListView();
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.textBox1 = new System.Windows.Forms.TextBox();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.toolTip2 = new System.Windows.Forms.ToolTip(this.components);
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
this.toolStrip1.SuspendLayout();
this.statusStrip1.SuspendLayout();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(7, 131);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 0;
this.button1.Text = "住戶";
this.button1.UseVisualStyleBackColor = true;
//
// checkBox1
//
this.checkBox1.AutoSize = true;
this.checkBox1.Location = new System.Drawing.Point(7, 160);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(47, 17);
this.checkBox1.TabIndex = 1;
this.checkBox1.Text = "住戶";
this.checkBox1.UseVisualStyleBackColor = true;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.5F);
this.label1.Location = new System.Drawing.Point(4, 180);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(28, 15);
this.label1.TabIndex = 2;
this.label1.Text = "住戶";
//
// listView1
//
this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader
this.columnHeader1);
this.listView1.Location = new System.Drawing.Point(7, 28);
this.listView1.Name = "listView1";
this.listView1.Size = new System.Drawing.Size(121, 97);
this.listView1.TabIndex = 3;
this.listView1.UseCompatibleStateImageBehavior = false;
this.listView1.View = System.Windows.Forms.View.Details;
//
// columnHeader1
//
this.columnHeader1.Text = "住戶";
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(7, 198);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(100, 20);
this.textBox1.TabIndex = 4;
this.textBox1.Text = "住戶";
//
// toolStrip1
//
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem
this.toolStripLabel1);
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(800, 25);
this.toolStrip1.TabIndex = 5;
this.toolStrip1.Text = "toolStrip1";
//
// toolStripLabel1
//
this.toolStripLabel1.Name = "toolStripLabel1";
this.toolStripLabel1.Size = new System.Drawing.Size(32, 22);
this.toolStripLabel1.Text = "住戶";
//
// statusStrip1
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem
this.toolStripStatusLabel1);
this.statusStrip1.Location = new System.Drawing.Point(0, 428);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(800, 22);
this.statusStrip1.TabIndex = 6;
this.statusStrip1.Text = "statusStrip1";
//
// toolStripStatusLabel1
//
this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
this.toolStripStatusLabel1.Size = new System.Drawing.Size(32, 17);
this.toolStripStatusLabel1.Text = "住戶";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.toolStrip1);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.listView1);
this.Controls.Add(this.label1);
this.Controls.Add(this.checkBox1);
this.Controls.Add(this.button1);
this.Name = "Form1";
this.Text = "住戶";
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();


private System.Windows.Forms.Button button1;
private System.Windows.Forms.CheckBox checkBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ListView listView1;
private System.Windows.Forms.ColumnHeader columnHeader1;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.ToolTip toolTip1;
private System.Windows.Forms.ToolTip toolTip2;
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripLabel toolStripLabel1;
private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;










share|improve this question























  • Does the Font you're using for those controls contain these 住戶 symbols?
    – Jimi
    Nov 10 at 5:30










  • It doesn't, "Microsoft Sans Serif" always invokes font-fallback. Outcome is unpredictable, looks to me the fallback for those two glyphs use different fonts. The title and toolstrip use the system default font, Segoe UI for the past decade. So easy fix, change the form's Font property to Segoe. Or any other font that is more apt at Chinese glyphs: en.wikipedia.org/wiki/List_of_CJK_fonts
    – Hans Passant
    Nov 10 at 12:48











  • Notes on font-fallback: How can Label control display Japanese characters properly when font of the label doesn't support Japanese characters?
    – Jimi
    Nov 10 at 14:08










  • It works perfectly on Segoe UI. Thank you very much.
    – Ho Ting Yan
    Nov 12 at 2:18














up vote
0
down vote

favorite












I am writing a Chinese GUI program using Visual Studio.



I have already tested this character on Visual Studio 2008 and 2017.

This problem happen in both version.



The character I was using is (u6236).

The Font size become smaller when it is in the Form like Label, TextBox, Button text.

However, the character's size does not change in the Title Bar, Status Bar or Menu bar.



Can someone explain why this happen?



Cannot post image yet so I put down a link here.

As you can see, only this character become smaller.



enter image description here



partial class Form1

private void InitializeComponent()

this.components = new System.ComponentModel.Container();
this.button1 = new System.Windows.Forms.Button();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.label1 = new System.Windows.Forms.Label();
this.listView1 = new System.Windows.Forms.ListView();
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.textBox1 = new System.Windows.Forms.TextBox();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.toolTip2 = new System.Windows.Forms.ToolTip(this.components);
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
this.toolStrip1.SuspendLayout();
this.statusStrip1.SuspendLayout();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(7, 131);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 0;
this.button1.Text = "住戶";
this.button1.UseVisualStyleBackColor = true;
//
// checkBox1
//
this.checkBox1.AutoSize = true;
this.checkBox1.Location = new System.Drawing.Point(7, 160);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(47, 17);
this.checkBox1.TabIndex = 1;
this.checkBox1.Text = "住戶";
this.checkBox1.UseVisualStyleBackColor = true;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.5F);
this.label1.Location = new System.Drawing.Point(4, 180);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(28, 15);
this.label1.TabIndex = 2;
this.label1.Text = "住戶";
//
// listView1
//
this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader
this.columnHeader1);
this.listView1.Location = new System.Drawing.Point(7, 28);
this.listView1.Name = "listView1";
this.listView1.Size = new System.Drawing.Size(121, 97);
this.listView1.TabIndex = 3;
this.listView1.UseCompatibleStateImageBehavior = false;
this.listView1.View = System.Windows.Forms.View.Details;
//
// columnHeader1
//
this.columnHeader1.Text = "住戶";
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(7, 198);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(100, 20);
this.textBox1.TabIndex = 4;
this.textBox1.Text = "住戶";
//
// toolStrip1
//
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem
this.toolStripLabel1);
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(800, 25);
this.toolStrip1.TabIndex = 5;
this.toolStrip1.Text = "toolStrip1";
//
// toolStripLabel1
//
this.toolStripLabel1.Name = "toolStripLabel1";
this.toolStripLabel1.Size = new System.Drawing.Size(32, 22);
this.toolStripLabel1.Text = "住戶";
//
// statusStrip1
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem
this.toolStripStatusLabel1);
this.statusStrip1.Location = new System.Drawing.Point(0, 428);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(800, 22);
this.statusStrip1.TabIndex = 6;
this.statusStrip1.Text = "statusStrip1";
//
// toolStripStatusLabel1
//
this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
this.toolStripStatusLabel1.Size = new System.Drawing.Size(32, 17);
this.toolStripStatusLabel1.Text = "住戶";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.toolStrip1);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.listView1);
this.Controls.Add(this.label1);
this.Controls.Add(this.checkBox1);
this.Controls.Add(this.button1);
this.Name = "Form1";
this.Text = "住戶";
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();


private System.Windows.Forms.Button button1;
private System.Windows.Forms.CheckBox checkBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ListView listView1;
private System.Windows.Forms.ColumnHeader columnHeader1;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.ToolTip toolTip1;
private System.Windows.Forms.ToolTip toolTip2;
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripLabel toolStripLabel1;
private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;










share|improve this question























  • Does the Font you're using for those controls contain these 住戶 symbols?
    – Jimi
    Nov 10 at 5:30










  • It doesn't, "Microsoft Sans Serif" always invokes font-fallback. Outcome is unpredictable, looks to me the fallback for those two glyphs use different fonts. The title and toolstrip use the system default font, Segoe UI for the past decade. So easy fix, change the form's Font property to Segoe. Or any other font that is more apt at Chinese glyphs: en.wikipedia.org/wiki/List_of_CJK_fonts
    – Hans Passant
    Nov 10 at 12:48











  • Notes on font-fallback: How can Label control display Japanese characters properly when font of the label doesn't support Japanese characters?
    – Jimi
    Nov 10 at 14:08










  • It works perfectly on Segoe UI. Thank you very much.
    – Ho Ting Yan
    Nov 12 at 2:18












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am writing a Chinese GUI program using Visual Studio.



I have already tested this character on Visual Studio 2008 and 2017.

This problem happen in both version.



The character I was using is (u6236).

The Font size become smaller when it is in the Form like Label, TextBox, Button text.

However, the character's size does not change in the Title Bar, Status Bar or Menu bar.



Can someone explain why this happen?



Cannot post image yet so I put down a link here.

As you can see, only this character become smaller.



enter image description here



partial class Form1

private void InitializeComponent()

this.components = new System.ComponentModel.Container();
this.button1 = new System.Windows.Forms.Button();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.label1 = new System.Windows.Forms.Label();
this.listView1 = new System.Windows.Forms.ListView();
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.textBox1 = new System.Windows.Forms.TextBox();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.toolTip2 = new System.Windows.Forms.ToolTip(this.components);
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
this.toolStrip1.SuspendLayout();
this.statusStrip1.SuspendLayout();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(7, 131);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 0;
this.button1.Text = "住戶";
this.button1.UseVisualStyleBackColor = true;
//
// checkBox1
//
this.checkBox1.AutoSize = true;
this.checkBox1.Location = new System.Drawing.Point(7, 160);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(47, 17);
this.checkBox1.TabIndex = 1;
this.checkBox1.Text = "住戶";
this.checkBox1.UseVisualStyleBackColor = true;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.5F);
this.label1.Location = new System.Drawing.Point(4, 180);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(28, 15);
this.label1.TabIndex = 2;
this.label1.Text = "住戶";
//
// listView1
//
this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader
this.columnHeader1);
this.listView1.Location = new System.Drawing.Point(7, 28);
this.listView1.Name = "listView1";
this.listView1.Size = new System.Drawing.Size(121, 97);
this.listView1.TabIndex = 3;
this.listView1.UseCompatibleStateImageBehavior = false;
this.listView1.View = System.Windows.Forms.View.Details;
//
// columnHeader1
//
this.columnHeader1.Text = "住戶";
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(7, 198);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(100, 20);
this.textBox1.TabIndex = 4;
this.textBox1.Text = "住戶";
//
// toolStrip1
//
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem
this.toolStripLabel1);
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(800, 25);
this.toolStrip1.TabIndex = 5;
this.toolStrip1.Text = "toolStrip1";
//
// toolStripLabel1
//
this.toolStripLabel1.Name = "toolStripLabel1";
this.toolStripLabel1.Size = new System.Drawing.Size(32, 22);
this.toolStripLabel1.Text = "住戶";
//
// statusStrip1
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem
this.toolStripStatusLabel1);
this.statusStrip1.Location = new System.Drawing.Point(0, 428);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(800, 22);
this.statusStrip1.TabIndex = 6;
this.statusStrip1.Text = "statusStrip1";
//
// toolStripStatusLabel1
//
this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
this.toolStripStatusLabel1.Size = new System.Drawing.Size(32, 17);
this.toolStripStatusLabel1.Text = "住戶";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.toolStrip1);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.listView1);
this.Controls.Add(this.label1);
this.Controls.Add(this.checkBox1);
this.Controls.Add(this.button1);
this.Name = "Form1";
this.Text = "住戶";
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();


private System.Windows.Forms.Button button1;
private System.Windows.Forms.CheckBox checkBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ListView listView1;
private System.Windows.Forms.ColumnHeader columnHeader1;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.ToolTip toolTip1;
private System.Windows.Forms.ToolTip toolTip2;
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripLabel toolStripLabel1;
private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;










share|improve this question















I am writing a Chinese GUI program using Visual Studio.



I have already tested this character on Visual Studio 2008 and 2017.

This problem happen in both version.



The character I was using is (u6236).

The Font size become smaller when it is in the Form like Label, TextBox, Button text.

However, the character's size does not change in the Title Bar, Status Bar or Menu bar.



Can someone explain why this happen?



Cannot post image yet so I put down a link here.

As you can see, only this character become smaller.



enter image description here



partial class Form1

private void InitializeComponent()

this.components = new System.ComponentModel.Container();
this.button1 = new System.Windows.Forms.Button();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.label1 = new System.Windows.Forms.Label();
this.listView1 = new System.Windows.Forms.ListView();
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.textBox1 = new System.Windows.Forms.TextBox();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.toolTip2 = new System.Windows.Forms.ToolTip(this.components);
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
this.toolStrip1.SuspendLayout();
this.statusStrip1.SuspendLayout();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(7, 131);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 0;
this.button1.Text = "住戶";
this.button1.UseVisualStyleBackColor = true;
//
// checkBox1
//
this.checkBox1.AutoSize = true;
this.checkBox1.Location = new System.Drawing.Point(7, 160);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(47, 17);
this.checkBox1.TabIndex = 1;
this.checkBox1.Text = "住戶";
this.checkBox1.UseVisualStyleBackColor = true;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.5F);
this.label1.Location = new System.Drawing.Point(4, 180);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(28, 15);
this.label1.TabIndex = 2;
this.label1.Text = "住戶";
//
// listView1
//
this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader
this.columnHeader1);
this.listView1.Location = new System.Drawing.Point(7, 28);
this.listView1.Name = "listView1";
this.listView1.Size = new System.Drawing.Size(121, 97);
this.listView1.TabIndex = 3;
this.listView1.UseCompatibleStateImageBehavior = false;
this.listView1.View = System.Windows.Forms.View.Details;
//
// columnHeader1
//
this.columnHeader1.Text = "住戶";
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(7, 198);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(100, 20);
this.textBox1.TabIndex = 4;
this.textBox1.Text = "住戶";
//
// toolStrip1
//
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem
this.toolStripLabel1);
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(800, 25);
this.toolStrip1.TabIndex = 5;
this.toolStrip1.Text = "toolStrip1";
//
// toolStripLabel1
//
this.toolStripLabel1.Name = "toolStripLabel1";
this.toolStripLabel1.Size = new System.Drawing.Size(32, 22);
this.toolStripLabel1.Text = "住戶";
//
// statusStrip1
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem
this.toolStripStatusLabel1);
this.statusStrip1.Location = new System.Drawing.Point(0, 428);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(800, 22);
this.statusStrip1.TabIndex = 6;
this.statusStrip1.Text = "statusStrip1";
//
// toolStripStatusLabel1
//
this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
this.toolStripStatusLabel1.Size = new System.Drawing.Size(32, 17);
this.toolStripStatusLabel1.Text = "住戶";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.toolStrip1);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.listView1);
this.Controls.Add(this.label1);
this.Controls.Add(this.checkBox1);
this.Controls.Add(this.button1);
this.Name = "Form1";
this.Text = "住戶";
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();


private System.Windows.Forms.Button button1;
private System.Windows.Forms.CheckBox checkBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ListView listView1;
private System.Windows.Forms.ColumnHeader columnHeader1;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.ToolTip toolTip1;
private System.Windows.Forms.ToolTip toolTip2;
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripLabel toolStripLabel1;
private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;







c#






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 10 at 5:36









Jimi

6,02621033




6,02621033










asked Nov 10 at 3:06









Ho Ting Yan

11




11











  • Does the Font you're using for those controls contain these 住戶 symbols?
    – Jimi
    Nov 10 at 5:30










  • It doesn't, "Microsoft Sans Serif" always invokes font-fallback. Outcome is unpredictable, looks to me the fallback for those two glyphs use different fonts. The title and toolstrip use the system default font, Segoe UI for the past decade. So easy fix, change the form's Font property to Segoe. Or any other font that is more apt at Chinese glyphs: en.wikipedia.org/wiki/List_of_CJK_fonts
    – Hans Passant
    Nov 10 at 12:48











  • Notes on font-fallback: How can Label control display Japanese characters properly when font of the label doesn't support Japanese characters?
    – Jimi
    Nov 10 at 14:08










  • It works perfectly on Segoe UI. Thank you very much.
    – Ho Ting Yan
    Nov 12 at 2:18
















  • Does the Font you're using for those controls contain these 住戶 symbols?
    – Jimi
    Nov 10 at 5:30










  • It doesn't, "Microsoft Sans Serif" always invokes font-fallback. Outcome is unpredictable, looks to me the fallback for those two glyphs use different fonts. The title and toolstrip use the system default font, Segoe UI for the past decade. So easy fix, change the form's Font property to Segoe. Or any other font that is more apt at Chinese glyphs: en.wikipedia.org/wiki/List_of_CJK_fonts
    – Hans Passant
    Nov 10 at 12:48











  • Notes on font-fallback: How can Label control display Japanese characters properly when font of the label doesn't support Japanese characters?
    – Jimi
    Nov 10 at 14:08










  • It works perfectly on Segoe UI. Thank you very much.
    – Ho Ting Yan
    Nov 12 at 2:18















Does the Font you're using for those controls contain these 住戶 symbols?
– Jimi
Nov 10 at 5:30




Does the Font you're using for those controls contain these 住戶 symbols?
– Jimi
Nov 10 at 5:30












It doesn't, "Microsoft Sans Serif" always invokes font-fallback. Outcome is unpredictable, looks to me the fallback for those two glyphs use different fonts. The title and toolstrip use the system default font, Segoe UI for the past decade. So easy fix, change the form's Font property to Segoe. Or any other font that is more apt at Chinese glyphs: en.wikipedia.org/wiki/List_of_CJK_fonts
– Hans Passant
Nov 10 at 12:48





It doesn't, "Microsoft Sans Serif" always invokes font-fallback. Outcome is unpredictable, looks to me the fallback for those two glyphs use different fonts. The title and toolstrip use the system default font, Segoe UI for the past decade. So easy fix, change the form's Font property to Segoe. Or any other font that is more apt at Chinese glyphs: en.wikipedia.org/wiki/List_of_CJK_fonts
– Hans Passant
Nov 10 at 12:48













Notes on font-fallback: How can Label control display Japanese characters properly when font of the label doesn't support Japanese characters?
– Jimi
Nov 10 at 14:08




Notes on font-fallback: How can Label control display Japanese characters properly when font of the label doesn't support Japanese characters?
– Jimi
Nov 10 at 14:08












It works perfectly on Segoe UI. Thank you very much.
– Ho Ting Yan
Nov 12 at 2:18




It works perfectly on Segoe UI. Thank you very much.
– Ho Ting Yan
Nov 12 at 2:18












1 Answer
1






active

oldest

votes

















up vote
0
down vote













I believe the issue you are having is to do with the auto scaling that windows performs to ensure correct scale on different screen sizes.



Have a read of Automatic scaling in Windows Forms



It maybe relevant to what your experiencing.






share|improve this answer




















  • If this is the case I was experiencing, I think a global scale problem will be happened. In the same label, I think all the character inside should have the same font size.
    – Ho Ting Yan
    Nov 10 at 3:38










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53235683%2ffont-size-of-a-single-character-within-a-label-textbox-is-not-as-expected%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













I believe the issue you are having is to do with the auto scaling that windows performs to ensure correct scale on different screen sizes.



Have a read of Automatic scaling in Windows Forms



It maybe relevant to what your experiencing.






share|improve this answer




















  • If this is the case I was experiencing, I think a global scale problem will be happened. In the same label, I think all the character inside should have the same font size.
    – Ho Ting Yan
    Nov 10 at 3:38














up vote
0
down vote













I believe the issue you are having is to do with the auto scaling that windows performs to ensure correct scale on different screen sizes.



Have a read of Automatic scaling in Windows Forms



It maybe relevant to what your experiencing.






share|improve this answer




















  • If this is the case I was experiencing, I think a global scale problem will be happened. In the same label, I think all the character inside should have the same font size.
    – Ho Ting Yan
    Nov 10 at 3:38












up vote
0
down vote










up vote
0
down vote









I believe the issue you are having is to do with the auto scaling that windows performs to ensure correct scale on different screen sizes.



Have a read of Automatic scaling in Windows Forms



It maybe relevant to what your experiencing.






share|improve this answer












I believe the issue you are having is to do with the auto scaling that windows performs to ensure correct scale on different screen sizes.



Have a read of Automatic scaling in Windows Forms



It maybe relevant to what your experiencing.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 10 at 3:19









Mark

1,24121627




1,24121627











  • If this is the case I was experiencing, I think a global scale problem will be happened. In the same label, I think all the character inside should have the same font size.
    – Ho Ting Yan
    Nov 10 at 3:38
















  • If this is the case I was experiencing, I think a global scale problem will be happened. In the same label, I think all the character inside should have the same font size.
    – Ho Ting Yan
    Nov 10 at 3:38















If this is the case I was experiencing, I think a global scale problem will be happened. In the same label, I think all the character inside should have the same font size.
– Ho Ting Yan
Nov 10 at 3:38




If this is the case I was experiencing, I think a global scale problem will be happened. In the same label, I think all the character inside should have the same font size.
– Ho Ting Yan
Nov 10 at 3:38

















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53235683%2ffont-size-of-a-single-character-within-a-label-textbox-is-not-as-expected%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Use pre created SQLite database for Android project in kotlin

Darth Vader #20

Ondo