In my WPF application often used small size text (12-13 px). As a result I see a bad display of it (imho, for me). ClearType used (but does not help).
Example (from above is a desired result):
How you thinks, what must be helpful for me?
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It only takes a minute to sign up.
Sign up to join this communityIn my WPF application often used small size text (12-13 px). As a result I see a bad display of it (imho, for me). ClearType used (but does not help).
Example (from above is a desired result):
How you thinks, what must be helpful for me?
Use a bitmap font just in the wanted size. Get one that is designed for small size. Prevent any scaling and smoothing.
The bottom image looks like it is using greyscale subpixel rendering. This is normal behavior in WPF for certain circumstances. The following randomly selected link summarizes better than I can:
This is not a bug actually, rather it's a known limitation, there are some of situations in which font antialiasing algorithm will fallback to grayscale, they are:
- Text content rendered into software render target using RenderTargetBitmap.
- Text content hosted inside layered windows (aka ContextMenus, ToolTips etc).
- Text content rasterized into VisualBrush.
- Text content rendered into a CompostionTarget whose Background property is set to Colors.Transparent to support areo glass frame extension.
Note: this is definitely a stack overflow question.