From 80f7f0ac80b5b8b8c817d346b7b54cc9e511b34b Mon Sep 17 00:00:00 2001 From: thug0bin Date: Thu, 12 Mar 2026 17:31:57 +0900 Subject: [PATCH] =?UTF-8?q?style(pmr):=20=EB=9D=BC=EB=B2=A8=20=EB=A0=88?= =?UTF-8?q?=EC=9D=B4=EC=95=84=EC=9B=83=20=EB=AF=B8=EC=84=B8=20=EC=A1=B0?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 상단 지그재그 ↔ 이름 간격 축소 (15 → 8) - 보관조건 폰트 크기 증가 (22 → 28) --- backend/pmr_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/pmr_api.py b/backend/pmr_api.py index c298a04..eb2f90b 100644 --- a/backend/pmr_api.py +++ b/backend/pmr_api.py @@ -914,7 +914,7 @@ def create_label_image(patient_name, med_name, add_info='', dosage=0, frequency= lines.append(current_line) return lines if lines else [text] - y = 15 + y = 8 # 상단 지그재그 ↔ 이름 간격 (공간 확보를 위해 축소) # 환자명 (띄어쓰기) spaced_name = " ".join(patient_name) if patient_name else "" @@ -1014,7 +1014,7 @@ def create_label_image(patient_name, med_name, add_info='', dosage=0, frequency= # 모든 보관조건 표시 (실온보관, 냉장보관 등) storage_text = f"* {storage_conditions}" try: - storage_font = ImageFont.truetype(font_path, 22) + storage_font = ImageFont.truetype(font_path, 28) except: storage_font = ImageFont.load_default() bbox_storage = draw.textbbox((0, 0), storage_text, font=storage_font)