I'm getting a weird rendering issue with WPF 4 applications in the way they render some of the text as it's stretching it and making it very narrow.
.net 3.5:
.net 4.0:
At first I thought it could be a problem with the font, but I'm also seeing the same problem in the Blend 4 beta:
I'm running XP SP3, Visual Studio 2010 Professional and everything's as up to date as it can be. I'm not noticing any such problems with Silverlight 4 apps I have built on the same machine... Anyone else seen this or know why it's happening?
"Know why this is happening?"
The text stack now supports display-optimized character layout, also see this page
It should be configurable but I can't find details right now.
I believe this was a Problem with certain fonts not being installed.
Check for SegoeUI!
They are located in %ProgramFiles%\Microsoft Expression\Common\Fonts
to answer your question about why this is happening: I think it was because i uninstalled some previous version of either blend or visual studio which also removed the fonts.
I fired up Snoop on Blend and noticed the path the font was referencing. It was the right path but somehow blend still couldn't find the Font (I guessed it then took the alphabetically following font). So I installed it to Windows' Fonts Folder and all was fine.
I had this issue a while ago so bear with me if I don't recall it all right.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With