From e049664b8e63213e1728d53b34ef15fba21ad9c4 Mon Sep 17 00:00:00 2001 From: "Emden R. Gansner" Date: Tue, 25 Mar 2014 09:41:13 -0400 Subject: [PATCH] PostScript images should use dpi=72 to get the right size. --- lib/gvc/gvusershape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gvc/gvusershape.c b/lib/gvc/gvusershape.c index d6ecc0df6..c8476a5b7 100644 --- a/lib/gvc/gvusershape.c +++ b/lib/gvc/gvusershape.c @@ -411,7 +411,7 @@ static void ps_size (usershape_t *us) int lx, ly, ux, uy; char* linep; - us->dpi = 0; + us->dpi = 72; fseek(us->f, 0, SEEK_SET); saw_bb = FALSE; while (fgets(line, sizeof(line), us->f)) { -- 2.40.0