Skip to main content

Microsoft Silverlight

Prevent anti-alias in textboxRSS Feed

(0)

hfleck
hfleck

Member

Member

0 points

3 Posts

Prevent anti-alias in textbox

Hi,

I'd like to create a Silverlight application using the classic HTML-Design. Well, the Silverlight textbox using anti-alias effect, but HTML doesn't.

Is there any way to tell Silverlight rendering the text without an anti-alias effect?

Thanks
Holger

mchlsync
mchlsync

Star

Star

14566 points

2,730 Posts

Silverlight MVP

Re: Prevent anti-alias in textbox

hfleck:
anti-alias effect?
 

x:Name="" ? I think it's not possible to do in Silverlight. Just curious . Why don't you want this?

(If this has answered your question, please click on "Mark as Answer" on this post. Thank you!)

Regards,
Michael Sync
Silverlight MVP

Blog : http://michaelsync.net


CleverCoder
CleverCoder

Member

Member

203 points

157 Posts

Re: Re: Prevent anti-alias in textbox

Well, perhaps it would make sense for the plugin to detect whether anti-aliasing was being performed on the client. Personally, I find the inconsistency between the rendered HTML text and the Silverlight text to be an annoyance. I would welcome the ability to specify anti-aliasing mode: [ ON | OFF | AUTO ]

Cake

bruce.denham
bruce.de...

Member

Member

6 points

3 Posts

Re: Prevent anti-alias in textbox

Yes, I too would prefer crisp non-anti-aliasing text in text boxes. I think the anti-aliasing looks blurry and unprofessional and I know a lot of users who have that same impression. Typography is one of the most important elements in UI design. But unfortunately it's too often overlooked. We should definitely be given the option to turn off anti-aliasing.

My 2 cents,

Bruce Denham

 

CleverCoder
CleverCoder

Member

Member

203 points

157 Posts

Re: Prevent anti-alias in textbox

 Agreed. It does seem like just a poorly written anti-aliasing alogrithm. "Blurry" is the best way to describe it.  Maybe the ClearType guys can drop by the Silverlight/WPF team and edubicate them on proper anti-aliasing algorithms.. Heck, maybe even wire it in to the ClearType API's or other existing libraries... :)

SpaceManPlusPlus
SpaceMan...

Member

Member

12 points

18 Posts

Re: Re: Prevent anti-alias in textbox

Maybe just change a font, some fonts has no anti-alias

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities