{
private PrivateFontCollection MyFonts = new PrivateFontCollection();
private Font messageTextFont;
public Form1()
{
InitializeComponent();
// get the message text font
byte[] fontResource = XboxLiveBioCreator.Properties.Resources.ConvectionRegular1;
GCHandle fontHandle = GCHandle.Alloc(fontResource, GCHandleType.Pinned);
MyFonts.AddMemoryFont(fontHandle.AddrOfPinnedObject(), fontResource.Length);
fontHandle.Free();
messageTextFont = new Font(MyFonts.Families[0], 9F, FontStyle.Regular);
button1.Font = messageTextFont;
//other code here
}
My embedded font contains unicode characters and when a unicode character is the character of a textbox/button/label/e.t.c it shows as a blank textbox/button/label/e.t.c.
Ansi text in this font comes up clearly
YES I AM SURE 100% that this font contains unicode characters aswell as ANSI
How do I allow it to show the unicode characters ?