Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sequence does not fit to PDF #507

Open
gmarchand opened this issue Sep 4, 2014 · 4 comments
Open

Sequence does not fit to PDF #507

gmarchand opened this issue Sep 4, 2014 · 4 comments
Labels

Comments

@gmarchand
Copy link

Hello

As you can see, pdf export functionality cuts my UML sequence diagram

image

G.

@benweet
Copy link
Owner

benweet commented Sep 4, 2014

Salut Canal+!
I will have a look to see if SVG can be shrinked to fit in the page size. Otherwise I could add an option to change the orientation (ie landscape) in the settings, but not sure that's what you want.

@gmarchand
Copy link
Author

Salut Benoit

It's difficult to turn my screen for each diagram :-)

Better to be shrinked to fit in the page size like an image.

Thxs

G.

PS : Good Job, I am going to stop Word

@benweet
Copy link
Owner

benweet commented Sep 6, 2014

I'm afraid it's not that straightforward as the max-width css property doesn't work on SVG.

@benweet benweet added the bug label Sep 19, 2014
@w3irdrobot
Copy link

Is there a way to change the orientation? I tried adding the orientation key to the PDF Options hash, but it doesn't seem to do anything.

{
    "marginTop": 10,
    "marginRight": 10,
    "marginBottom": 10,
    "marginLeft": 10,
    "pageSize": "A4",
    "orientation": "landscape"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants