File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -554,9 +554,9 @@ <h2>QSL Card Designer (QSLカードデザイナー)</h2>
554554} )
555555
556556function adjustFieldFontSize ( div , height ) {
557- const h = height || div . clientHeight || 28 ;
558- // 高さに比例してフォントサイズを変更(ボーダーボックスより大きく )
559- const fontSize = h * 1.2 ;
557+ const h = height || div . clientHeight || 16 ;
558+ // 高さに比例してフォントサイズを変更(ボーダーボックスと同じサイズ )
559+ const fontSize = h * 1.0 ;
560560 div . style . fontSize = fontSize + 'px' ;
561561}
562562
@@ -594,13 +594,13 @@ <h2>QSL Card Designer (QSLカードデザイナー)</h2>
594594 designerFields . forEach ( ( f ) => {
595595 const v = ( rec [ f . name ] !== undefined ? rec [ f . name ] : "" ) ;
596596 const w = f . width || 160 ;
597- const h = f . height || 28 ;
597+ const h = f . height || 16 ;
598598 const x = f . x || 0 ;
599599 const y = f . y || 0 ;
600-
600+
601601 // フィールドの背景(透明なのでスキップ)
602602 // テキストを描画
603- const fontSize = h * 1.2 ;
603+ const fontSize = h * 1.0 ;
604604
605605 // フォント設定(無線局コールサインと相手局の場合のみカスタムフォント)
606606 let fontFamily = 'Arial, Meiryo, sans-serif' ;
You can’t perform that action at this time.
0 commit comments