CCImage: implemented CCImage::calculateStringSize