I have a main Form (WinForm) which should render its content without ClearType. More precisely, a RichTextBox within that form should render its text without ClearType. When ClearType is turned on at the end-user system, how can I prevent it from affecting my application?
I havn't found how to achieve this with System.Drawing, nor I know of a P/Invoke solution.
I don't know how to set it but you can check from
int x = System.Windows.Forms.SystemInformation.FontSmoothingType;
//x=1 when SmoothingType is Standard
//x=2 when SmoothingType is ClearType
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