You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[win32] Handle all scaled font via SWTFontProvider
This commit extends the SWTFontProvider and the SWTFontRegistry to
receive scaled variants of a font where only the handle is available.
Common use case for this is OS.SendMessage (hwnd, OS.WM_GETFONT, 0, 0)
to receive the handle of the current font of a handle. As at this point
the correct zoom the handle was created is not yet know, it is better
to retrieve and manage those fonts via the SWTFontRegistry expecially
when monitor specific scaling is used. When the passed font handle is
not already managed via the SWTFontRegistry it will create the SWT Font
as it was create previously.
0 commit comments