By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,670 Members | 1,512 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,670 IT Pros & Developers. It's quick & easy.

PrivateFontCollection vs TextBox

P: n/a
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
Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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.

"Claus" <ab*@hotmail.com> wrote in message
news:4a****************************@phx.gbl...
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

Nov 16 '05 #2

P: n/a
Thanks

Thats what I thought, too bad I just wasted 2 days with
this :)
-----Original Message-----
I think this is definitely a bug or an unimplemented feature. Fonts in aprivate 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 Trickshttp://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.


"Claus" <ab*@hotmail.com> wrote in message
news:4a****************************@phx.gbl...
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

.

Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.