优化
This commit is contained in:
@@ -164,7 +164,7 @@ object ChapterProvider {
|
|||||||
}
|
}
|
||||||
durY = setTypeImage(
|
durY = setTypeImage(
|
||||||
book, bookChapter, matcher.group(1)!!,
|
book, bookChapter, matcher.group(1)!!,
|
||||||
durY, textPages, book.getImageStyle()
|
absStartX, durY, textPages, book.getImageStyle()
|
||||||
)
|
)
|
||||||
start = matcher.end()
|
start = matcher.end()
|
||||||
}
|
}
|
||||||
@@ -204,6 +204,7 @@ object ChapterProvider {
|
|||||||
book: Book,
|
book: Book,
|
||||||
chapter: BookChapter,
|
chapter: BookChapter,
|
||||||
src: String,
|
src: String,
|
||||||
|
absStartX: Int,
|
||||||
y: Float,
|
y: Float,
|
||||||
textPages: ArrayList<TextPage>,
|
textPages: ArrayList<TextPage>,
|
||||||
imageStyle: String?,
|
imageStyle: String?,
|
||||||
@@ -254,8 +255,8 @@ object ChapterProvider {
|
|||||||
textLine.textChars.add(
|
textLine.textChars.add(
|
||||||
TextChar(
|
TextChar(
|
||||||
charData = src,
|
charData = src,
|
||||||
start = start,
|
start = absStartX + start,
|
||||||
end = end,
|
end = absStartX + end,
|
||||||
isImage = true
|
isImage = true
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user