summaryrefslogtreecommitdiff
path: root/apps/macosx/macpdf.c
diff options
context:
space:
mode:
authorRalph Giles <giles@ghostscript.com>2005-04-21 08:33:55 +0200
committerRalph Giles <giles@ghostscript.com>2005-04-21 08:33:55 +0200
commit8ee75ff8a5f4d9c72083dc597f83e7266f134252 (patch)
treec16fd95871cc4cb2ea47615d99994a603795fc25 /apps/macosx/macpdf.c
parent5d60cba9550a9c9cb1ca0fce00a8791ff06f457e (diff)
downloadmupdf-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.c2
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));