Merge pull request #7424 from kyokomi/bugfix_UITextField_ttfFont

Fix the bug that UITextField doesn't support TTF font
[ci skip]
fixed using the incorrect res in test case of 'TextureMemoryAlloc'.
Merge pull request #7435 from Dhilan007/v3-320final

fixed using the incorrect res in test case of 'TextureMemoryAlloc'.