mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
74cf745db8
* add protect condition of kerningDict and fontDefDictionary are undefined * add warining when give a null parameter * if fontatlas is null, create one * narrow the size of letterAtlas initialization * create global variables for assignment Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>