|
|
|
@ -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> { |
|
|
|
|