summaryrefslogtreecommitdiff
path: root/xphelloworld/xphelloworld.c
diff options
context:
space:
mode:
Diffstat (limited to 'xphelloworld/xphelloworld.c')
-rw-r--r--xphelloworld/xphelloworld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xphelloworld/xphelloworld.c b/xphelloworld/xphelloworld.c
index 066ceb4..c796d29 100644
--- a/xphelloworld/xphelloworld.c
+++ b/xphelloworld/xphelloworld.c
@@ -165,7 +165,7 @@ int do_hello_world( const char *printername, const char *printerargs, const char
/* usual rendering stuff..... */
- sprintf(fontname, "-*-*-*-*-*-*-*-180-%ld-%ld-*-*-iso8859-1", context->document_dpi, context->document_dpi);
+ sprintf(fontname, "-*-*-*-*-*-*-*-180-%ld-%ld-*-*-iso8859-1", context->document_dpi_x, context->document_dpi_y);
font = XLoadQueryFont(context->pdpy, fontname);
XSetFont(context->pdpy, pgc, font->fid);
if (!hello_world_message)