From 9d541956fcdac362de48db8fb8fac9f1bd640efe Mon Sep 17 00:00:00 2001 From: Kaiting Chen Date: Thu, 24 Apr 2025 17:20:07 -0400 Subject: [PATCH] Fix bug in calculation of circle location --- postgresqleu/confreg/jinjapdf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgresqleu/confreg/jinjapdf.py b/postgresqleu/confreg/jinjapdf.py index 56cc2495..f10be6e1 100755 --- a/postgresqleu/confreg/jinjapdf.py +++ b/postgresqleu/confreg/jinjapdf.py @@ -86,7 +86,7 @@ class JinjaFlowable(Flowable): else: self.canv.setStrokeColor(get_color(o['stroke'])) self.canv.circle(getmm(o, 'x'), - self.height - getmm(o, 'y') - (getmm(o, 'radius') / 2), + self.height - getmm(o, 'y') - getmm(o, 'radius'), getmm(o, 'radius'), stroke=stroke, fill=fill) -- 2.39.5