我正在使用 Tabulate 包以表格格式列印資料。輸出被發送到網頁。使用默認字體時一切正常。但是,在更改字體系列(例如 Google 字體的 Outfit 或草書)時,它們將停止對齊。有沒有可能的解決方案?
使用默認字體輸出:
Strength: 16 Dmg: 50 Armor: 3.8 ShadowRes: 3.5%
Agility: 34 Spell: 183 FireRes: 5.1% NatureRes: 6.1%
Intellect: 61 Critical: 3.4% FrostRes: 6.3% ArcaneRes: 3.8%
使用 Google 字體輸出(看起來這不能真正顯示它,因為 SO 字體是默認的):
Strength: 25 Dmg: 45 Armor: 3.1 ShadowRes: 3.2%
Agility: 20 Spell: 132 FireRes: 3.3% NatureRes: 3.6%
Intellect: 44 Critical: 2.0% FrostRes: 3.6% ArcaneRes: 3.8%
提前致謝!
uj5u.com熱心網友回復:
您需要等寬字體以保持良好的空間大小
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/371031.html
