字体名称过长

#46 · closed · 2 comments

View on GitHub ↗

xvzhenduo

release中发布的字体名称过长,在windows和macos上字体名称长度不应超过31个字符 [参考1](https://stackoverflow.com/questions/31901110/what-are-legal-characters-in-font-names#:~:text=The%20standard%20names,in%20Macintosh%20exists.) [参考2](https://ask.embedded-wizard.de/4877/font-name-limitation-to-32-characters#:~:text=This%20restriction%20is,to%2031%20characters.) 经过我的测试,在windows上字体超过31个字符会导致字体名称被截断,并且由于字体名称前31个字符相同,导致在包括但不限于word,powerpoint,bmfont等等应用的字体选择器中,安装了多个字体但是仅出现一个选项 <img width="581" height="453" alt="Image" src="https://github.com/user-attachments/assets/d49167f2-049d-4c0c-b0ad-f0a33de861f7" /> <img width="615" height="207" alt="Image" src="https://github.com/user-attachments/assets/5816877e-cc1a-401e-98c8-0bd6272dd9bf" /> 可以考虑将字体名称中区分等宽和比例的名称使用首字母缩写

Comments

TakWolf

https://www.angelcode.com/products/bmfont/

TakWolf

版本 https://github.com/TakWolf/fusion-pixel-font/releases/tag/2025.07.15 已修复