Commit 41e45fd
committed
[win32] Make Font#extractZoom device independent
This commit ensures Font#extractZoom is device independent. The previous
logic didn't provide any advantages anymore after the conversion between
points and pixels was changed for Fonts. By using DPIUtil#getNativeZoom
the most probable value for the zoom of a new font a chosen.1 parent 329ed24 commit 41e45fd
File tree
1 file changed
+2
-2
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
| 299 | + | |
300 | 300 | | |
301 | | - | |
| 301 | + | |
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| |||
0 commit comments