牌位設定列印

This commit is contained in:
2026-04-01 18:03:42 +08:00
parent 5f8da12363
commit 37d0b928ec
3 changed files with 108 additions and 71 deletions

View File

@@ -311,7 +311,7 @@
/*font-weight: bold;*/
white-space: nowrap;
line-height: 1.2;
font-family: 'Kaiti', serif;
font-family: ${style.fontFamily};
/* 確保名字本身不會佔據過多寬度導致間距看起來很大 */
width: fit-content;
}
@@ -543,7 +543,7 @@
x: el.startX, y: el.startY,
style: {
fontSize: el.fontSize,
fontFamily: "Kaiti",
fontFamily: el.fontFamily,
isVertical: true,
letterSpacing: 5, lineHeight: 1.5,
visibility: el.isActive,
@@ -717,7 +717,7 @@
height: `${el.height}px`,
border: "0px solid #ccc",
padding: "1px",
"font-family": "BiauKai",
"font-family": el.fontFamily,
"letter-spacing": "0.1em",
"column-gap": "1px",
"row-gap": "1px",