hingbong 5 years ago
parent bc09084332
commit 64cce92a40
  1. 3
      app/src/main/java/io/legado/app/ui/book/read/page/ChapterProvider.kt

@ -265,7 +265,8 @@ object ChapterProvider {
titlePaint = TextPaint()
titlePaint.color = ReadBookConfig.durConfig.textColor()
titlePaint.letterSpacing = ReadBookConfig.letterSpacing
titlePaint.typeface = Typeface.create(typeface, Typeface.BOLD)
titlePaint.typeface =
Typeface.create(typeface, if (ReadBookConfig.textBold) 900 else 700, false)
titlePaint.textSize = with(ReadBookConfig) { textSize + titleSize }.sp.toFloat()
titlePaint.isAntiAlias = true
//正文

Loading…
Cancel
Save