Home > Net >  The WPF text, why so ugly. If you don't use to 23 px or more words, almost can't see the t
The WPF text, why so ugly. If you don't use to 23 px or more words, almost can't see the t

Time:03-01

The WPF text, why so ugly, if you don't use to over 23 px text, based on the text, there is no way to have a look.
I am using the WPF RichTextBox writes words: font with FontFamily="Source Han Sans CN Heavy" FontSize="14", the effect is as follows,



But I like this, how to do ah,

Ugly calculate, and text size is different, you see the female characters, obviously are much smaller than shoes, and the words, and compares French word small lot, completely not neat,

With these words, in which of the following is the PS in the same font size



I really do not understand, what is the WPF technology so behind ah, still have other method,

I was thinking in the WPF text, good-looking, like in the PS (all need not so good, shows the normal point of line),


I asked some programmers, they say, you don't need not some other font, I want to say, the somebody else also have no strong don't let other software with a certain font,

(in the tests, I found. NET3.5 the effect is better than the. NET4 above) (in later in the computer test, found that some computer shows better, some showing almost, same is in Windows 7 version test,)



CodePudding user response:

I think a lot of ways, and finally achieved on the screen, the font look in the past,
The effect of this is I added some text set


But when I use, RenderTargetBitmap, putting into the control when a picture



Then, save became the control word, and then save into pictures, and looks like this,
(if use. NET3.5 is no problem, as long as more than. NET3.5, is such a problem, completely no solution)

CodePudding user response:

As if there is a magic power, is not I can control,
  • Related