diff options
Diffstat (limited to 'packaging/designqr.patch')
-rw-r--r-- | packaging/designqr.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packaging/designqr.patch b/packaging/designqr.patch index 33f54f5..2aa2f4b 100644 --- a/packaging/designqr.patch +++ b/packaging/designqr.patch @@ -437,9 +437,9 @@ index 05e0637..cfd1060 100644 From 3d780674174e5f7d9772964071ddead07ff06a98 Mon Sep 17 00:00:00 2001 From: Kwanghoon Son <k.son@samsung.com> Date: Wed, 18 Jan 2023 11:29:35 +0900 -Subject: [PATCH 4/4] Fix draw_circle radius to 0.45 in finder +Subject: [PATCH 4/4] Fix draw_circle radius to half in finder -Reader works over than 0.45 +Reader works over than half Change-Id: Ifb9ffda6776c5c40411373c04a70e3a13d8d8086 Signed-off-by: Kwanghoon Son <k.son@samsung.com> @@ -456,8 +456,8 @@ index 56dbb2d..25a055b 100644 for(int cc=0; cc < 3; cc++) for(i=3; i>0; i--) { - draw_circle(scaled_pixelbuf, scale_width, scale_height, cx[cc], cy[cc], (symbol->dot_size / 2.0) * (i*2 + 1) * scaler, '0' + i%2); -+ //less than 0.45 will not works well in reader -+ draw_circle(scaled_pixelbuf, scale_width, scale_height, cx[cc], cy[cc], 0.45 * (i*2 + 1) * scaler, '0' + i%2); ++ //less than half will not works well in reader ++ draw_circle(scaled_pixelbuf, scale_width, scale_height, cx[cc], cy[cc], (i*2 + 1) * scaler / 2, '0' + i%2); } } else if (symbol->output_options & BARCODE_FINDER_ROUNDRECT) { |