0
{
       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 ?

1
Contributor
1
Reply
2
Views
6 Years
Discussion Span
Last Post by trippinz
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.