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

Cairo SVG and PDF output larger than PNG #4487

Closed
cnieman opened this issue Oct 3, 2012 · 3 comments
Closed

Cairo SVG and PDF output larger than PNG #4487

cnieman opened this issue Oct 3, 2012 · 3 comments
Assignees

Comments

@cnieman
Copy link
Contributor

cnieman commented Oct 3, 2012

Cairo is expecting to receive the canvas size in points, but it is actually receiving the size in pixels which results in an output image that is larger than expected. e.g. mapfile map size of 300 x 300 (pixels) -> cairo svg of 300 x 300 points which is 375 x 375 pixels at 90 dpi which the programs I tested with seem to assume (Inkscape, Chrome, Firefox).

@ghost ghost assigned tbonfort Oct 5, 2012
@szekerest
Copy link
Member

Does anyone work on this problem?
Looks like the PDF canvas size should be calculated from the map image size according to the DPI setting specified for the map.

@sdlime
Copy link
Member

sdlime commented Nov 4, 2014

Not I… Go for it if you’re so inclined. --Steve

From: Tamas Szekeres [mailto:notifications@github.com]
Sent: Monday, November 03, 2014 6:54 AM
To: mapserver/mapserver
Subject: Re: [mapserver] Cairo SVG and PDF output larger than PNG (#4487)

Does anyone work on this problem?
Looks like the PDF canvas size should be calculated from the map image size according to the DPI setting specified for the map.


Reply to this email directly or view it on GitHubhttps://github.com//issues/4487#issuecomment-61473401.

@mapserver-bot
Copy link

This is an automated comment

This issue has been closed due to lack of activity. This doesn't mean the issue is invalid, it simply got no attention within the last year. Please reopen with missing/relevant information if still valid.

Typically, issues fall in this state for one of the following reasons:

  • Hard, impossible or not enough information to reproduce
  • Missing test case
  • Lack of a champion with interest and/or funding to address the issue

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

No branches or pull requests

5 participants