IsFontSmoothingEnabled
From SCAR Divi Manual
Definition
function IsFontSmoothingEnabled: Boolean;
Source Code
function IsFontSmoothingEnabled: Boolean; var i: Integer; begin SystemParametersInfo(SPI_GETFONTSMOOTHING, 0, @i, 0); Result := Boolean(i); end;
Availability
SCAR Divi 3.00 > Current
Description
Returns true if font smoothing is enabled. It is advised to turn off font smoothing when using ocr functions.
Example
var b: Boolean; begin b := IsFontSmoothingEnabled; SetFontSmoothing(not b); Wait(5000); SetFontSmoothing(b); end.