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

Image position in appendImage is not correct #4182

Closed
mitar opened this issue Jan 24, 2014 · 3 comments
Closed

Image position in appendImage is not correct #4182

mitar opened this issue Jan 24, 2014 · 3 comments
Labels

Comments

@mitar
Copy link
Contributor

mitar commented Jan 24, 2014

In this PDF, image positions given in appendImage are not correct:

http://arxiv.org/abs/1204.3516

Vertically they have some strange offsets.

@ldenoue
Copy link

ldenoue commented Jan 21, 2016

I found a bug in canvas.js:

var position = this.getCanvasPosition(0, 0);

It should be:
var position = this.getCanvasPosition(0, -h);

Laurent.

@SamyCookie
Copy link

Thanks @ldenoue for your find. Could you open a 'pull request' for that ?

@ldenoue
Copy link

ldenoue commented Jan 21, 2016

there's more to it than just passing -h.
looks like the position gets negative sometimes too.

On Thu, Jan 21, 2016 at 11:25 AM, SamyCookie notifications@github.com
wrote:

Thanks @ldenoue https://github.com/ldenoue for your find. Could you
open a 'pull request' for that ?


Reply to this email directly or view it on GitHub
#4182 (comment).

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

4 participants