pull/1029/head
gedoor 4 years ago
parent 304fa3d82d
commit 0d74307481
  1. 10
      app/src/main/java/io/legado/app/ui/book/read/page/provider/ChapterProvider.kt

@ -119,10 +119,10 @@ object ChapterProvider {
if (matcher.find()) {
matcher.group(1)?.let { src ->
//if (!book.isEpub()) {
durY = setTypeImage(
book, bookChapter, src,
durY, textPages, book.getImageStyle()
)
durY = setTypeImage(
book, bookChapter, src,
durY, textPages, book.getImageStyle()
)
//}
}
} else {
@ -474,7 +474,7 @@ object ChapterProvider {
ReadBookConfig.textFont = ""
ReadBookConfig.save()
Typeface.SANS_SERIF
}
} ?: Typeface.DEFAULT
}
private fun getPaint(typeface: Typeface): Pair<TextPaint, TextPaint> {

Loading…
Cancel
Save