From 2a5a964f4f5dfbb026764d4823115a79dcf10c83 Mon Sep 17 00:00:00 2001 From: gedoor Date: Mon, 16 Nov 2020 19:26:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/model/analyzeRule/QueryTTF.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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