Reputation: 161
I have a C# Label and I set the text to the String "CO\u2082" (CO2 with the Unicode subscript) .
The label is displayed properly on my PC which runs Windows XP service pack 3, but not displayed properly on a PC with Windows XP service pack2.
m_labelDescCO2 = new System.Windows.Forms.Label();
m_labelDescCO2.Text = "CO\u2082";
The Label font is defined to be Microsoft Sans Serif.
Thanks for any advice!
Upvotes: 0
Views: 2540
Reputation: 402
Hi I found the answer here. Some fonts do not have superscript or subscript support in other operating systems. The "Character Map" program in Windows is a good point to start figuring out.
Upvotes: 0
Reputation: 1379
I also think it's a font problem.
It doesn't work with MS Sans and Verdana, it does work with Arial Unicode MS
Upvotes: 0