Skip to content
New issue

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

会超出屏幕显示的范围 #7

Closed
ludwigY opened this issue Jan 4, 2016 · 1 comment
Closed

会超出屏幕显示的范围 #7

ludwigY opened this issue Jan 4, 2016 · 1 comment

Comments

@ludwigY
Copy link

ludwigY commented Jan 4, 2016

有时候字符串会超出屏幕显示的范围,比如红色字体部分,最后一个字符就超出了范围。
试着修改了一下,不过是在上一个版本上进行的修改,不知道正确与否。具体修改点如下:
①Line180 int ignoreCalcLength = (int) (width / oneChineseWidth + 0.99);
→ int ignoreCalcLength = (int) (width / oneChineseWidth );
②Line200 i = i + ignoreCalcLength;
→ i = i + ignoreCalcLength-1;

image

@androiddevelop
Copy link
Owner

这个问题已经修复了,请使用2.3版本,您使用的应该是2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants