Hello,
if I print the rtf text on a bitmap, I can't get it to be really transparent (no white background, just the text and text-background).
The problem seems to be that everything is drawn in ClearType / Antialiased. Normally you can disabled that by doing something like this to a font:
Code
GetObject(Font.Handle, SizeOf(TLogFont), @tagLOGFONT);
tagLOGFONT.lfQuality := NONANTIALIASED_QUALITY;
Font.Handle := CreateFontIndirect(tagLOGFONT);
But this is not working, because I can't change the fonts in WPTools this way.
Is there any way to have really transparent text drawn on a bitmap without using SystemParametersInfo(SPI_SETFONTSMOOTHING, Cardinal(False), nil, 0) ? I don't want to set it globally.
Regards,
Björn