pull/1067/head
gedoor 4 years ago
parent e494e61f74
commit 20a8e6bc95
  1. 6
      app/src/main/java/io/legado/app/help/JsExtensions.kt

@ -311,9 +311,9 @@ interface JsExtensions {
* @param font2 正确的字体
*/
fun replaceFont(
text: String,
font1: QueryTTF?,
font2: QueryTTF?
text: String,
font1: QueryTTF?,
font2: QueryTTF?
): String {
if (font1 == null || font2 == null) return text
val contentArray = text.toCharArray()

Loading…
Cancel
Save