Bug 558586 - Printed font size depends on monitor DPI
Summary: Printed font size depends on monitor DPI
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.14   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-23 06:32 EST by Simeon Andreev CLA
Modified: 2019-12-23 06:49 EST (History)
2 users (show)

See Also:


Attachments
SWT snippet to reproduce the problem with. (2.02 KB, text/x-java)
2019-12-23 06:32 EST, Simeon Andreev CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simeon Andreev CLA 2019-12-23 06:32:44 EST
Created attachment 281316 [details]
SWT snippet to reproduce the problem with.

One of our developer reported a problem with SWT and printing (on paper). Printed sheets have different font size depending on the monitor DPI (e.g. wide-screen vs. old non-wide screen monitors).

This should be coming from bug 545953, where this change was added:

https://git.eclipse.org/c/platform/eclipse.platform.swt.git/diff/bundles/org.eclipse.swt/Eclipse%20SWT/gtk/org/eclipse/swt/graphics/Font.java?id=3c0e74f1ed5a447b60eb0a783979cf9144e65960

Unfortunately I don't have a setup with which I can work on  this, or present more insights.