working on txt import

This commit is contained in:
mwang 2019-03-09 22:45:13 +08:00
parent d1a7c6346f
commit 8b79e3dd06
1 changed files with 1 additions and 1 deletions

View File

@ -438,7 +438,7 @@ public class PageFactory {
c.drawText(CommonUtil.subString(bookName,12), marginWidth ,statusMarginBottom + mBatterryFontSize, mBatterryPaint);
//画章
if (getDirectoryList().size() > 0) {
String charterName = CommonUtil.subString(getDirectoryList().get(currentChapter-1).getChapterName(),12);
String charterName = CommonUtil.subString(getDirectoryList().get(currentChapter-1).getChapterName(),16);
int nChaterWidth = (int) mBatterryPaint.measureText(charterName) + 1;
c.drawText(charterName, mWidth - marginWidth - nChaterWidth, statusMarginBottom + mBatterryFontSize, mBatterryPaint);
}