* split long string into short pieces
* Add '\n' toughly, to be optimized.
* Unified offset of rendering label of ttf and bmfont
* remove chinese or redundant explanations
* step1.optimize truncate long string
* step2: add details
* optimization of tough switching line
* 1. add condition if maxWdith is over 2048.
2. add a ErrorOffset to avoid a little characters will overstep these designed lines.
* remove log
* remove rebundant code and rename the method
* resolve bug: complete english words are truncated
* revert "remove annotations"
* Revert "Unified offset of rendering label of ttf and bmfont"
This reverts commit 37d6a57d820ad5be09a90510526e85e8cca77c5a.
* optimize split algorithm
* consider one char step condition (for chinese characters)
* update conditions causing many bugs
* remove rebundant code
* add two optimizations
1. split with '\n' earlier, excute the method less;
2. when the left string size is less than 2048, the method can finish.
* remove annotated code
* resolve confict
* add internal annotation
* replace "internal" by "engineInternal"
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
* add extra name as cc.xxx from legacyCC namespace
* remove rebundant code
* remove rebundant namespaces
* fix unit test bug. supplement global variables classes.
* UIModel->UIMeshRender
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
* fix fuzzy text on high resolution displays
* modify devicePixelRatio scale factor and fix eslint
modify devicePixelRatio scale factor and fix eslint
fix eslint error
fix fuzzy text on high resolution displays
modify devicePixelRatio scale factor and fix eslint
modify devicePixelRatio scale factor and fix eslint
fix eslint error
fix fuzzy text on high resolution displays
modify devicePixelRatio scale factor and fix eslint
modify devicePixelRatio scale factor and fix eslint
fix eslint error
fix fuzzy text on high resolution displays
fix fuzzy text on high resolution displays
modify devicePixelRatio scale factor and fix eslint
modify devicePixelRatio scale factor and fix eslint
fix eslint error
fix fuzzy text on high resolution displays
fix rebase 3.4.2 ,limit dpr 1 or 2
fix font min dpr
fix font min dpr
fix fuzzy text on high resolution displays
modify devicePixelRatio scale factor and fix eslint
modify devicePixelRatio scale factor and fix eslint
fix eslint error
fix fuzzy text on high resolution displays
Merge branch 'v3.4.1' of github.com:ankye/engine into v3.4.1
modify devicePixelRatio scale factor and fix eslint
modify devicePixelRatio scale factor and fix eslint
fix eslint error
fix fuzzy text on high resolution displays
modify devicePixelRatio scale factor and fix eslint
modify devicePixelRatio scale factor and fix eslint
fix eslint error
fix fuzzy text on high resolution displays
fix fuzzy text on high resolution displays
modify devicePixelRatio scale factor and fix eslint
modify devicePixelRatio scale factor and fix eslint
fix eslint error
fix fuzzy text on high resolution displays
fix rebase 3.4.2 ,limit dpr 1 or 2
fix font min dpr
fix eslint error
fix fuzzy text on high resolution displays
fix fuzzy text on high resolution displays
modify devicePixelRatio scale factor and fix eslint
modify devicePixelRatio scale factor and fix eslint
fix eslint error
fix fuzzy text on high resolution displays
Co-authored-by: shengxiehua <shengxiehua@soulapp.cn>