Open Muchenyao opened 4 years ago
关于合字的解释 : https://zh.wikipedia.org/wiki/%E5%90%88%E5%AD%97
在Android系统中,默认的字体Roboto会有合字行为,比如fi会显示成:
但是JustTextView在换行的时候,字符会出现偏移:
目前只发现在换行的时候会立即出现该bug
找到一个解决方法,设置属性
android:fontFeatureSettings="liga 0"
可以禁用合字。
链接:https://stackoverflow.com/questions/17655153/text-with-f-following-i-cannot-see-the-dot-on-the-i-sans-font
关于合字的解释 : https://zh.wikipedia.org/wiki/%E5%90%88%E5%AD%97
在Android系统中,默认的字体Roboto会有合字行为,比如fi会显示成:![image](https://user-images.githubusercontent.com/10345166/83529903-8f989e80-a51d-11ea-8d43-382d4f2f40c7.png)
但是JustTextView在换行的时候,字符会出现偏移:![image](https://user-images.githubusercontent.com/10345166/83530047-c8d10e80-a51d-11ea-875d-d5721b77f02f.png)
目前只发现在换行的时候会立即出现该bug