서명 생성 시 한글 폰트가 일부 글자만 표시되는 문제 수정

This commit is contained in:
dohyeons 2025-12-22 15:21:14 +09:00
parent 117912045f
commit 002c71f9e8
2 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
/* ===== 서명용 손글씨 폰트 ===== */
@import url("https://fonts.googleapis.com/css2?family=Allura&family=Dancing+Script:wght@700&family=Great+Vibes&family=Pacifico&family=Satisfy&family=Caveat:wght@700&family=Permanent+Marker&family=Shadows+Into+Light&family=Kalam:wght@700&family=Patrick+Hand&family=Indie+Flower&family=Amatic+SC:wght@700&family=Covered+By+Your+Grace&family=Nanum+Brush+Script&family=Nanum+Pen+Script&family=Gaegu:wght@700&family=Gugi&family=Single+Day&family=Stylish&family=Sunflower:wght@700&family=Dokdo&display=swap");
/* ===== 서명용 손글씨 폰트 (완전한 한글 지원 폰트) ===== */
@import url("https://fonts.googleapis.com/css2?family=Allura&family=Dancing+Script:wght@700&family=Great+Vibes&family=Pacifico&family=Satisfy&family=Caveat:wght@700&family=Permanent+Marker&family=Shadows+Into+Light&family=Kalam:wght@700&family=Patrick+Hand&family=Indie+Flower&family=Amatic+SC:wght@700&family=Covered+By+Your+Grace&family=Nanum+Brush+Script&family=Nanum+Pen+Script&family=Gaegu:wght@700&family=Hi+Melody&family=Gamja+Flower&family=Poor+Story&family=Do+Hyeon&family=Jua&display=swap");
/* ===== Tailwind CSS & Animations ===== */
@import "tailwindcss";

View File

@ -13,17 +13,17 @@ interface SignatureGeneratorProps {
onSignatureSelect: (dataUrl: string) => void;
}
// 서명용 손글씨 폰트 목록 (스타일이 확실히 구분되는 폰트들)
// 서명용 손글씨 폰트 목록 (완전한 한글 지원 폰트만 사용)
const SIGNATURE_FONTS = {
korean: [
{ name: "나눔손글씨 붓", style: "'Nanum Brush Script', cursive", weight: 400 },
{ name: "나눔손글씨 펜", style: "'Nanum Pen Script', cursive", weight: 400 },
{ name: "배달의민족 도현", style: "Dokdo, cursive", weight: 400 },
{ name: "귀여운", style: "Gugi, cursive", weight: 400 },
{ name: "싱글데이", style: "'Single Day', cursive", weight: 400 },
{ name: "스타일리시", style: "Stylish, cursive", weight: 400 },
{ name: "해바라기", style: "Sunflower, sans-serif", weight: 700 },
{ name: "손글씨", style: "Gaegu, cursive", weight: 700 },
{ name: "손글씨 (Gaegu)", style: "Gaegu, cursive", weight: 700 },
{ name: "하이멜로디", style: "'Hi Melody', cursive", weight: 400 },
{ name: "감자꽃", style: "'Gamja Flower', cursive", weight: 400 },
{ name: "푸어스토리", style: "'Poor Story', cursive", weight: 400 },
{ name: "도현", style: "'Do Hyeon', sans-serif", weight: 400 },
{ name: "주아", style: "Jua, sans-serif", weight: 400 },
],
english: [
{ name: "Allura (우아한)", style: "Allura, cursive", weight: 400 },