Bug 297942 - [Printing] Client area is not centered according to printer trim
Summary: [Printing] Client area is not centered according to printer trim
Status: CLOSED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.8   Edit
Hardware: PC Linux-GTK
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact: Carolyn MacLeod CLA
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2009-12-16 04:53 EST by Peter Severin CLA
Modified: 2017-07-24 15:40 EDT (History)
2 users (show)

See Also:


Attachments
Snippet that prints a rectangle around client area (1.06 KB, text/x-java)
2009-12-16 04:54 EST, Peter Severin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Severin CLA 2009-12-16 04:53:19 EST
Build Identifier: M20090917-0800

When drawing on printer GC I expect the result to be centered on paper according to printer's trim. I'm attaching a snippet that draws a rectangle around the client area. This rectangle should be positioned on paper with respect to printer margins as returned by computeTrim method. The same test works as expected on Mac OS X carbon.

Reproducible: Always
Comment 1 Peter Severin CLA 2009-12-16 04:54:38 EST
Created attachment 154549 [details]
Snippet that prints a rectangle around client area
Comment 2 Ian Pun CLA 2017-06-28 10:20:15 EDT
This problem is not reproducible anymore as of GTK3.22 on Fedora 25. Closing as WORKSFORME.