From 9d750c2abeeb459214f5e34ee783d3168cf09247 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sun, 19 Aug 2018 07:18:29 -0400 Subject: [PATCH] ... --- MagickCore/fx.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MagickCore/fx.c b/MagickCore/fx.c index 4581b225d..dfd87137e 100644 --- a/MagickCore/fx.c +++ b/MagickCore/fx.c @@ -1766,6 +1766,10 @@ static double FxGetSymbol(FxInfo *fx_info,const PixelChannel channel, return((double) image->page.x); if (LocaleCompare(symbol,"page.y") == 0) return((double) image->page.y); + if (LocaleCompare(symbol,"printsize.x") == 0) + return(image->columns/image->resolution.x); + if (LocaleCompare(symbol,"printsize.y") == 0) + return(image->rows/image->resolution.y); break; } case 'Q': -- 2.40.0