Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315028 - Labels being Clipped when Exporting Diagram to Image (SVG/PDF)
Summary: Labels being Clipped when Exporting Diagram to Image (SVG/PDF)
Status: RESOLVED FIXED
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 2.2   Edit
Hardware: PC Windows XP
: P3 major
Target Milestone: 2.3   Edit
Assignee: Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-31 02:31 EDT by Jevon CLA
Modified: 2010-07-19 21:59 EDT (History)
2 users (show)

See Also:


Attachments
example export of a SVG, opened in Inkscape (24.56 KB, image/png)
2010-05-31 02:32 EDT, Jevon CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jevon CLA 2010-05-31 02:31:26 EDT
Build Identifier: M20100211-1343

I am having an issue that when I am exporting a GMF diagram to PDF or SVG, the labels are occasionally clipped (as per the attached diagram). The text is still present in the exported diagram, just that the right-hand side is cut off. I can edit the diagram with Inkscape and obtain the text, but I'd rather not have to modify all exported SVG diagrams manually. Is there a known workaround? 

Also, probably unrelated, but shortcut decorators are also being cut off at the bottom of the image.

Reproducible: Sometimes

Steps to Reproduce:
1. Create a GMF diagram with labels
2. Export the image as PDF or SVG
3. Open exported image

It seems to happen to about 10-20% of my labels. Should I also provide the .xxx_diagram as an attachment?
Comment 1 Jevon CLA 2010-05-31 02:32:27 EDT
Created attachment 170489 [details]
example export of a SVG, opened in Inkscape
Comment 2 Alex Boyko CLA 2010-05-31 13:24:55 EDT
Try latest GMF from HEAD. It should be fixed there (GMF 2.3)
Comment 3 Anthony Hunter CLA 2010-07-09 10:49:04 EDT
(In reply to comment #2)
> Try latest GMF from HEAD. It should be fixed there (GMF 2.3)

Resolved in GMF Runtime 1.4.0 (GMF 2.3.0 in Helios), please reopen if not the case.
Comment 4 Eclipse Webmaster CLA 2010-07-16 23:38:11 EDT
[target cleanup] 2.3 RC was the original target milestone for this
bug
Comment 5 Eclipse Webmaster CLA 2010-07-19 21:59:53 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime was the original product and component for this bug