Commit 9ce68ae
[win32] fix to use zoom dpi for fonts via display
With commit cd8bb13 we adapted the calcuation how to scale up fonts to
fix the calculation for fonts used by the Printer. This introduced an
issue if monitor-specific scaling is active and the primary monitor zoom
is changed, because two different calculation were mixed now. This commit
fixes this inconsistency.1 parent df1c412 commit 9ce68ae
File tree
2 files changed
+11
-13
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics
2 files changed
+11
-13
lines changedLines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
| 263 | + | |
264 | 264 | | |
265 | | - | |
| 265 | + | |
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
275 | | - | |
276 | | - | |
| 274 | + | |
277 | 275 | | |
278 | 276 | | |
279 | 277 | | |
| |||
282 | 280 | | |
283 | 281 | | |
284 | 282 | | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
285 | 290 | | |
286 | 291 | | |
287 | 292 | | |
| |||
Lines changed: 1 addition & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
| 239 | + | |
247 | 240 | | |
248 | 241 | | |
249 | 242 | | |
| |||
0 commit comments