I think I have a problem with design resolution and rescaling.
All the layout it’s ok, the design resolution works very well and the asset with searchpaths it’s ok.
Now I noticed a big problem with TTF.
They rescale to fit all the resolutions, but… the problem is that they SCALE… not resize like TTF do…
So I have the pixelation effect like a bitmap font.
I have tried both with ui Text create and with Label createWithTTF, they do the same.
Is there another way to achieve this? Or it works as intended?
How do you make your TTF rescale with resolutions?
10x really will cause this problem. The best value to use for not losing quality and have no problem with anti-aliasing is how much you are re-scaling your images. You can calculate in this way:
auto screenSize = Director::getInstance()->getOpenGLView()->getFrameSize();
auto visibleSize = Director::getInstance()->getVisibleSize();