大家好,最近使用cosos2d-x绘制字库里的特殊符号,在ipad5上没问题,在ipad pro(4代)上有的场景显示不出来,代码如下
char utf8code[6] = { 0 };
unsigned long ul=toUnicode(id);
enc_unicode_to_utf8_one((unsigned long)ul, (unsigned char*) &utf8code[0], 6);
Label *label = Label::createWithTTF(utf8code, "fonts/bravura.ttf", mag);
layer->addChild(label,10);
label->setColor(Color3B::BLACK);
label->setPosition(pos);
代码完全一样,在不同ipad设备上有的符号没有绘制出来,请问这种问题是什么引起的?