PrivateFontCollection vs TextBox

  • Thread starter Thread starter Claus
  • Start date Start date
C

Claus

Hi all.

I'm messing a bit with PrivateFontCollection. Embedding a
ttf-font and
streaming it into PrivateFontCollection using
AddMemoryFont works like a
charm.

Changing the Font property on the WinForm controls works
without problems
on Label, CheckBox and Buttons. But surprisingly not on
TextBoxes, which
reduces the scope of PrivateFontCollection enormously.

Is this a known bug or by design? Has anyone else got it
to work?

Cheers
/Claus
 
I think this is definitely a bug or an unimplemented feature. Fonts in a
private font collection seem to work fine on labels but not textboxes.
--
Bob Powell [MVP]
Visual C#, System.Drawing

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
 
Back
Top