cocos2d-x / cocos2dx-win8

102 stars 66 forks source link

CCLabelTTF on WP8 #29

Open Niborski opened 11 years ago

Niborski commented 11 years ago

Several problems with CCLabelTTF:

Niborski commented 11 years ago

Solved the second problem by adding:

if (m_fontFace)
{
    FT_Done_Face(m_fontFace);
}

to FTTextPainter::SetFont(Platform::String^ fontName , UINT nSize)

MarceloEmmerich commented 11 years ago

anyone has a fix for the third problem? My game has a couple of screens with a lot of text, it crashes with out of memory. Thanks.

MarceloEmmerich commented 11 years ago

And I can experience another problem. I had an scale animation on a CCLabelTTF scaling it up from 1.0 to 40.0. After a certain value (above 10.0) the whole screen starts flickering. Going up to 10.0 instead of 40.0 removes the flickering.