|
|
@ -267,7 +267,7 @@ object ChapterProvider { |
|
|
|
titlePaint.color = ReadBookConfig.durConfig.textColor() |
|
|
|
titlePaint.color = ReadBookConfig.durConfig.textColor() |
|
|
|
titlePaint.letterSpacing = ReadBookConfig.letterSpacing |
|
|
|
titlePaint.letterSpacing = ReadBookConfig.letterSpacing |
|
|
|
titlePaint.typeface = Typeface.create(typeface, Typeface.BOLD) |
|
|
|
titlePaint.typeface = Typeface.create(typeface, Typeface.BOLD) |
|
|
|
titlePaint.textSize = (ReadBookConfig.textSize + ReadBookConfig.titleSize).sp.toFloat() |
|
|
|
titlePaint.textSize = with(ReadBookConfig) { textSize + titleSize }.sp.toFloat() |
|
|
|
//正文 |
|
|
|
//正文 |
|
|
|
contentPaint.isAntiAlias = true |
|
|
|
contentPaint.isAntiAlias = true |
|
|
|
contentPaint.color = ReadBookConfig.durConfig.textColor() |
|
|
|
contentPaint.color = ReadBookConfig.durConfig.textColor() |
|
|
|