Bug #51032 Printing in linux creates very small tables
Submitted: 9 Feb 2010 16:03 Modified: 11 May 2010 13:50
Reporter: Michael Knichel Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:5.1.18 OS:Linux (Kubuntu Jaunty)
Assigned to: Alfredo Kojima CPU Architecture:Any
Tags: linux, printing

[9 Feb 2010 16:03] Michael Knichel
Description:
When I reverse engineered a db from my mysql install, there were 24 tables so I changed the diagram size to 6 pages to give plenty of room to move around.  When I try to print, the diagram uses very little space and I need a magnifying glass to read anything on the printout.

My page size is standard letter 8.5x11 and I get the same problem when trying to export to pdf.  The printout is sooooooo tiny.

How to repeat:
It happens all the time.  I have tried to reverse engineer a db and import a DBDesigner 4 model and I get the same thing.  The diagrams is very tiny.
[9 Feb 2010 16:04] Michael Knichel
ScreenShot of Workbench

Attachment: mysqlworkbench_printing.png (image/png, text), 227.97 KiB.

[9 Feb 2010 16:05] Michael Knichel
I added a screen shot to show that I have 6 pages but the diagram only takes 1 page but it is soooooo small I cannot read it when I print.
[9 Feb 2010 16:28] cheater cheater
I can confirm the problem, this is what it looks like for me when I do File->Print and I use the pdf printer.

Attachment: Ausgabe.pdf (application/pdf, text), 461.37 KiB.

[9 Feb 2010 16:30] cheater cheater
A note to my upload above:
WB 5.2.10
openSUSE 11.1 (i586)
[6 May 2010 2:26] Alfredo Kojima
Fixed. Note that at least in Ubuntu 9.10, the PDF generated by cairo seems to not be liked
very much by the GNOME pdf viewer, so Print Preview crashes and opening the printed PDF file with 
evince also crashes. However, xpdf and Preview.app from Mac open it fine.
[6 May 2010 2:32] Alfredo Kojima
Note: it's the Print Preview that crashes, not Workbench (it seems GTK implements it as a separate process). Also, Ubuntu 10.04 seems to have that fixed and at least the generated PDF can be viewed with no crash.
[10 May 2010 21:53] Johannes Taxacher
fix confirmed in repository
[11 May 2010 13:50] Tony Bedford
An entry has been added to the 5.2.21 changelog:

When an EER Diagram layout was set to span multiple pages, and then printed, the diagram was printed so small as to be illegible.