FreeBSD Bugzilla – Attachment 215122 Details for
Bug 246902
editors/lazarus: fix font bug
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Patch to fix font bug
patch-lcl_interfaces_qt5_qtobjects.pas (text/plain), 528 bytes, created by
freebsd-bugs
on 2020-06-01 06:30:32 UTC
(
hide
)
Description:
Patch to fix font bug
Filename:
MIME Type:
Creator:
freebsd-bugs
Created:
2020-06-01 06:30:32 UTC
Size:
528 bytes
patch
obsolete
>--- lcl/interfaces/qt5/qtobjects.pas.orig 2019-01-24 09:44:26 UTC >+++ lcl/interfaces/qt5/qtobjects.pas >@@ -3115,8 +3115,11 @@ begin > SelFont := AFont; > if (AFont.FHandle <> nil) and (Widget <> nil) then > begin >- QFnt := QPainter_font(Widget); >- AssignQtFont(AFont.FHandle, QFnt); >+ { QFnt := QPainter_font(Widget); } >+ { AssignQtFont(AFont.FHandle, QFnt); } >+ QFnt := QFont_Create(AFont.FHandle); >+ QPainter_setFont(Widget, QFnt); >+ QFont_destroy(QFnt); > vFont.Angle := AFont.Angle; > end; > end;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 246902
: 215122