mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 09:38:12 +02:00
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:
parent
91d47a7e97
commit
fb308f81d8
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user