We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CoreText Demo对于点击位置有一定偏差(测试上看来是x轴固定有半个字符大小的偏移), 即:在[CoreTextUtils touchContentOffsetInView: atPoint: data:] 中输出idx可以看到 点击某个字的前半部分,输出idx为当前字形的idx,点击这个字的后半部分,输出为下一个字形的idx, 虽然在真机操作的时候手指精度没这么高,但是模拟器可以操作到这个精度,而且这样的偏差可能导致一些意想不到的问题
The text was updated successfully, but these errors were encountered:
No branches or pull requests
CoreText Demo对于点击位置有一定偏差(测试上看来是x轴固定有半个字符大小的偏移),
即:在[CoreTextUtils touchContentOffsetInView: atPoint: data:] 中输出idx可以看到
点击某个字的前半部分,输出idx为当前字形的idx,点击这个字的后半部分,输出为下一个字形的idx,
虽然在真机操作的时候手指精度没这么高,但是模拟器可以操作到这个精度,而且这样的偏差可能导致一些意想不到的问题
The text was updated successfully, but these errors were encountered: