diff options
author | Ralph Giles <giles@ghostscript.com> | 2005-04-21 08:33:55 +0200 |
---|---|---|
committer | Ralph Giles <giles@ghostscript.com> | 2005-04-21 08:33:55 +0200 |
commit | 8ee75ff8a5f4d9c72083dc597f83e7266f134252 (patch) | |
tree | c16fd95871cc4cb2ea47615d99994a603795fc25 /apps/macosx/macpdf.c | |
parent | 5d60cba9550a9c9cb1ca0fce00a8791ff06f457e (diff) | |
download | mupdf-8ee75ff8a5f4d9c72083dc597f83e7266f134252.tar.xz |
macpdf-1
First stab at getting the MacOS client to work again.
Tigers if you change the embedded file name.
The extra stuff in Jamfile was intended to copy the .app directory
structure from the source tree, but doesn't work. You'll have to
copy it manually to the build target directory.
Diffstat (limited to 'apps/macosx/macpdf.c')
-rw-r--r-- | apps/macosx/macpdf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/macosx/macpdf.c b/apps/macosx/macpdf.c index 5e48a4ea..fbd3308e 100644 --- a/apps/macosx/macpdf.c +++ b/apps/macosx/macpdf.c @@ -519,7 +519,7 @@ OSStatus view_showpage(HIViewRef view) Lskipload: ctm = fz_identity(); - ctm = fz_concat(ctm, fz_translate(0, -ctx->page->mediabox.max.y)); + ctm = fz_concat(ctm, fz_translate(0, -ctx->page->mediabox.y1)); ctm = fz_concat(ctm, fz_scale(ctx->zoom, -ctx->zoom)); ctm = fz_concat(ctm, fz_rotate(ctx->rotate + ctx->page->rotate)); |