Compact Framework and ClearType text
-
19-09-2019 - |
Question
Is there a way to use ClearType text in an application using the .NET Compact Framework?
Solution
To add to ctacke's answer: You can create a font with ClearType quality on a need-to basis by setting the Quality
property of Microsoft.WindowsCE.Forms.LogFont
to LogFontQuality.ClearType
and use it to create the font with Font.FromLogFont()
.
OTHER TIPS
Simply enable ClearType for the platform by setting the following registry entry:
[HKEY_LOCAL_MACHINE\SYSTEM\GDI\Cleartype]
"Default"=dword:00000001
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow