位图字体在 ios 下出现异常

项目用了不少位图字体,有的有问题有的没问题,资源是用 shoebox 导出的,xcode 调试出现异常,web 上是没问题的,附上一个测试用的 demoFntTest.zip (226.3 KB)

顶起!!!!!!!

今天又遇到了,怎么就没人理呢,难道没人在 ios 上用 fnt 字体吗

调试出现什么异常呢?能否把错误信息帖一下,最好不要截图,有些图片太小看不清。。。

提示这个 libc++abi.dylib: terminating with uncaught exception of type std::bad_typeid: std::bad_typeid

cocos2d: fullPathForFilename: No file found at script/jsb_prepare.jsc. Possible missing file.
cocos2d: fullPathForFilename: No file found at script/jsb_boot.jsc. Possible missing file.
Cocos2d-JS v3.13
2016-12-01 17:42:33.407 hello_world-mobile[9822:173416] cocos2d: surface size: 1704x960
cocos2d: QuadCommand: resizing index size from [-1] to [2560]
2016-12-01 17:42:34.211 hello_world-mobile[9822:173416] cocos2d: surface size: 1704x960
libpng warning: iCCP: known incorrect sRGB profile
Success to load scene: db://assets/Scene/helloworld.fire
libc++abi.dylib: terminating with uncaught exception of type std::bad_typeid: std::bad_typeid
(lldb)

感谢反馈,我看看咋回事

辛苦子龙大大

试了一下,你的 fnt 文件里面还有全角的引号,你用一个文本编辑器打开,全角引号改成半角就可以了。。。。

原来如此…谢谢了