summaryrefslogtreecommitdiff
path: root/platform/x11/pdfapp.h
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2015-06-03 19:44:25 +0100
committerRobin Watts <Robin.Watts@artifex.com>2015-06-03 20:23:39 +0100
commit36316b400e48e0ee64ee1a016c8bde68785b7dc0 (patch)
tree8449b6e5ad2dbd56d4445d139134a2d93d852f5d /platform/x11/pdfapp.h
parent3df425033f3d214470c013930336be3af32955c1 (diff)
downloadmupdf-36316b400e48e0ee64ee1a016c8bde68785b7dc0.tar.xz
Fix Windows 8.1 operation on hi-dpi displays.
MuPDF only. Call SetProcessDPIAware if it's available; this stops Windows doing its own horrible scaling causing blurriness. Also, interrogate the screen display to get the real dpi and use that as our basis.
Diffstat (limited to 'platform/x11/pdfapp.h')
-rw-r--r--platform/x11/pdfapp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/x11/pdfapp.h b/platform/x11/pdfapp.h
index 1bac5872..e3633577 100644
--- a/platform/x11/pdfapp.h
+++ b/platform/x11/pdfapp.h
@@ -141,6 +141,7 @@ struct pdfapp_s
};
void pdfapp_init(fz_context *ctx, pdfapp_t *app);
+void pdfapp_setresolution(pdfapp_t *app, int res);
void pdfapp_open(pdfapp_t *app, char *filename, int reload);
void pdfapp_open_progressive(pdfapp_t *app, char *filename, int reload, int bps);
void pdfapp_close(pdfapp_t *app);