没有描边的 
加了句
label->enableOutline(Color4B(80,61,48,255),5);
描边的不正常,显示不全 
这个个怎么破???
不要说ttf的问题,我用test例子里带的也一样!
cocos2d-x 3.2 final
没有描边的 
加了句
label->enableOutline(Color4B(80,61,48,255),5);
描边的不正常,显示不全 
这个个怎么破???
不要说ttf的问题,我用test例子里带的也一样!
cocos2d-x 3.2 final
我顶,不沉!
没人回答你?我来,哈哈。
这是个bug,在3.3alpha0版本据他们的日志说已经修复了

FontAtlas.cpp 构造函数里面
auto outlineSize = fontTTf->getOutlineSize();
if(outlineSize > 0)
{
_commonLineHeight += 2 * outlineSize * CC_CONTENT_SCALE_FACTOR();
_currentPageDataSize *= 2;
}
这个改法会影响显示的位置,(比原来偏高)
改FontAtlas::processData
void FontAtlas::processData(FontLetterDefinition &tempDef,unsigned short theChar,Rect &tempRect,float offsetAdjust,int bottomHeight,float& startY,FontFreeType* fontTTf,float scaleFactor,unsigned char* bitmap,long bitmapWidth,long bitmapHeight)
{
auto pixelFormat = fontTTf->getOutlineSize() > 0 ? Texture2D::PixelFormat::AI88 : Texture2D::PixelFormat::A8;
tempDef.validDefinition = true;
tempDef.letteCharUTF16 = theChar;
tempDef.width = tempRect.size.width + _letterPadding;
tempDef.height = tempRect.size.height + _letterPadding;
tempDef.offsetX = tempRect.origin.x + offsetAdjust;
tempDef.offsetY = _fontAscender + tempRect.origin.y - offsetAdjust;
tempDef.clipBottom = bottomHeight - (tempDef.height + tempRect.origin.y + offsetAdjust);
if (_currentPageOrigX + tempDef.width > CacheTextureWidth)
{
// 增加判断 如果是描边的话 字体可能会有加大了宽高的 容易引起显示上的问题 20150505
float lineHeight = _commonLineHeight + 2 * fontTTf->getOutlineSize();
_currentPageOrigY += lineHeight;
_currentPageOrigX = 0;
…