You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it's likely not possible to fix this as this is how WPF works.
The WebBrowser control's rendering is not handled by WPF so it looks similar to how content rendered in regular browsers
Yes, it should be fixed even on WPF.
The screen shot I attateched to 1st my comment shows WPF can draw cleary.
The screen shot has 4 lines "あいうえお" ,
1st line is drawn by WPF , XAML code <TextBlock FontFamily="Meiryo" FontSize="12pt">あいうえお</TextBlock>
2nd line is also drawn by WPF , <TextBlock FontFamily="Meiryo UI" FontSize="12pt">あいうえお</TextBlock>
3rd and 4th lines are drawned HtmlPanel , <app:HtmlPanel x:Name="WebPage" Text="{Binding Text}"
Binded HTML is the link, 'Test HTML' , in the comment.
I'm thinking there are something arround DrawString() in htmlrenderer.wpf\adapters\graphicsadapter.cs
but still looking for.
Activity
Mizutama commentedon Jul 26, 2017
Already blurry...

Licshee commentedon Jul 26, 2017
I think it's likely not possible to fix this as this is how WPF works.
The WebBrowser control's rendering is not handled by WPF so it looks similar to how content rendered in regular browsers
Mizutama commentedon Jul 26, 2017
Yes, it should be fixed even on WPF.
The screen shot I attateched to 1st my comment shows WPF can draw cleary.
The screen shot has 4 lines "あいうえお" ,
1st line is drawn by WPF , XAML code
<TextBlock FontFamily="Meiryo" FontSize="12pt">あいうえお</TextBlock>2nd line is also drawn by WPF ,
<TextBlock FontFamily="Meiryo UI" FontSize="12pt">あいうえお</TextBlock>3rd and 4th lines are drawned HtmlPanel ,
<app:HtmlPanel x:Name="WebPage" Text="{Binding Text}"Binded HTML is the link, 'Test HTML' , in the comment.
I'm thinking there are something arround DrawString() in htmlrenderer.wpf\adapters\graphicsadapter.cs
but still looking for.
Mizutama commentedon Jul 26, 2017
Commented out some magical code then got cleary.
`
`
Now I must learn how to use GlyphRun and DrawingContext ...
Licshee commentedon Jul 26, 2017
Thank you for the info, I'll dig into it
MarkSizer commentedon Aug 25, 2017
Probably too obvious, but have you checked if the WPF pixel-snapping settings can be tweaked to help?
https://msdn.microsoft.com/es-es/library/aa970908(v=vs.85).aspx
RachamimYaakobov commentedon Sep 18, 2017
I have a 1920x1080 screen at 125% and the text is very blurry
What to do?
RachamimYaakobov commentedon Sep 18, 2017
I found the solution, this works for me:
#105