Revert "lcl/win32: Fix of disappearing underline of CourierNew text for some font sizes. Issue #39472."

This reverts commit 3875655f5b.
This commit is contained in:
wp_xyz 2021-11-26 00:05:56 +01:00
parent 91d47a7e97
commit fb308f81d8

View File

@ -1163,13 +1163,6 @@ begin
Rect.Right := Rect.Right + Abs(aABC.abcC);
end;
// Sometimes the underline does not appear for some sizes.
// A workaround is to move the bottom edge of the rect down by one pixel.
// https://forum.lazarus.freepascal.org/index.php/topic,57021.msg424606.html#msg424606
if lf.lfUnderline <> 0 then
inc(Rect.Bottom);
end;
end;