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
{{ message }}
Repository navigation
Font size of Line number ruler is different when using swt.autoScale=int200 #2385
Previously, in LegacySWTFontRegistry (DefaultSWTFontRegistry), fonts were always created using the constructor Font(Device, FontData). However, in ScalingSWTFontRegistry, fonts are now created using the Font(Device, FontData, zoom) constructor.
When fonts are created using Font(Device, FontData), they implicitly use DPIUtil.getNativeDeviceZoom() for scaling. On the other hand, fonts created via the new constructor use the zoom value explicitly passed to SWTFontProvider.getFontHandle(font, zoom).
For example, with LegacySWTFontRegistry, the LineNumberRuler had the same font size as the text editor.
However, with ScalingSWTFontRegistry, the sizes may now differ due to the zoom being explicitly passed on font creation.
Activity
[win32] Foward native zoom to draw bitmap in GC
[win32] Foward native zoom to draw bitmap in GC
[win32] Foward native zoom to draw bitmap in GC
[win32] Foward native zoom to draw bitmap in GC
[win32] Foward native zoom to draw bitmap in GC
[win32] Foward native zoom to draw bitmap in GC
[win32] Foward native zoom to draw bitmap in GC
[win32] Foward native zoom to draw bitmap in GC
[win32] Foward native zoom to draw bitmap in GC
[win32] Foward native zoom to draw bitmap in GC
[win32] Foward native zoom to draw bitmap in GC