diff --git a/app/src/main/java/io/legado/app/model/analyzeRule/QueryTTF.kt b/app/src/main/java/io/legado/app/model/analyzeRule/QueryTTF.kt index 86d98bd9d..c49bbd48d 100644 --- a/app/src/main/java/io/legado/app/model/analyzeRule/QueryTTF.kt +++ b/app/src/main/java/io/legado/app/model/analyzeRule/QueryTTF.kt @@ -495,7 +495,7 @@ class QueryTTF(var font: ByteArray) : JsExtensions { /*** * 获取字体轮廓 (fontCode:单个String字符) */ - fun GetGlyf(fontCode: String): ArrayList { - return GetGlyf(fontCode[0].toInt()) + fun getGlyf(str: String): ArrayList { + return getGlyf(str.toInt()) } } \ No newline at end of file