pull/487/head^2
gedoor 4 years ago
parent f8507a8ea5
commit 2a5a964f4f
  1. 4
      app/src/main/java/io/legado/app/model/analyzeRule/QueryTTF.kt

@ -495,7 +495,7 @@ class QueryTTF(var font: ByteArray) : JsExtensions {
/*** /***
* 获取字体轮廓 (fontCode:单个String字符) * 获取字体轮廓 (fontCode:单个String字符)
*/ */
fun GetGlyf(fontCode: String): ArrayList<Short> { fun getGlyf(str: String): ArrayList<Short> {
return GetGlyf(fontCode[0].toInt()) return getGlyf(str.toInt())
} }
} }
Loading…
Cancel
Save