Open jayden320 opened 3 years ago
The underlines of Chinese characters, English characters and symbols are not aligned <p><u>这里是/中文he/llo这里/是/中文</u></p>
<p><u>这里是/中文he/llo这里/是/中文</u></p>
This is a screenshot of using DTAttributedLabel
This is a screenshot of using UILabel
DTCoreText version: 1.6.26 System version: iOS15
I have the same problem
原先划线用透明色或同背景色,重新再划线,我是这么处理的
There is a way to avoid this alignment , just replace the font from helvetica to pingfang
Here is the result after this change:
The underlines of Chinese characters, English characters and symbols are not aligned
<p><u>这里是/中文he/llo这里/是/中文</u></p>
This is a screenshot of using DTAttributedLabel
This is a screenshot of using UILabel
DTCoreText version: 1.6.26 System version: iOS15