From f66daa12c2faaead8ecd9cc66c48d6fcb34f2957 Mon Sep 17 00:00:00 2001 From: Patrick McGuire Date: Tue, 16 Mar 2021 16:08:47 -0400 Subject: [PATCH] Update soft_copy.php --- soft_copy.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/soft_copy.php b/soft_copy.php index 1b1865a..39655e9 100644 --- a/soft_copy.php +++ b/soft_copy.php @@ -50,6 +50,11 @@ $offset_y = $dX['offset_y_cords']; $offset_x_circulator = $dX['offset_x_cords_circulator']; $offset_y_circulator = $dX['offset_y_cords_circulator']; + $petition_party_line1 = $dX['petition_party_line1']; + $petition_party_line2 = $dX['petition_party_line2']; + $petition_party_line3 = $dX['petition_party_line3']; + $petition_party_line4 = $dX['petition_party_line4']; + // imagettftext ( resource $image , float $size , float $angle , int $x , int $y , int $color , string $fontfile , string $text ) // x how far from left // y how far from top @@ -82,6 +87,12 @@ if ($hide_county == 'NO'){ imagettftext($jpg_image, $array[0], $array[1], $array[2], $array[3], $black, $font_path, str_replace('County','',$_COOKIE['pCOUNTY']) ); } } +// Party Information +imagettftext($jpg_image, 50, 0, 200, 580, $black, $font_path, $petition_party_line1 ); +imagettftext($jpg_image, 50, 0, 700, 700, $black, $font_path, $petition_party_line2 ); +imagettftext($jpg_image, 50, 0, 340, 790, $black, $font_path, $petition_party_line3 ); +imagettftext($jpg_image, 50, 0, 340, 870, $black, $font_path, $petition_party_line4 ); + // name imagettftext($jpg_image, 50, 0, 350+$offset_x, 1070+$offset_y, $black, $font_path, $full_name); // signed -- 2.20.1