From c5ae3b5cd991abebef1a65989dce2d3432af1efd Mon Sep 17 00:00:00 2001 From: gedoor Date: Sat, 4 Sep 2021 21:24:55 +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 --- .../io/legado/app/model/analyzeRule/QueryTTF.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/io/legado/app/model/analyzeRule/QueryTTF.java b/app/src/main/java/io/legado/app/model/analyzeRule/QueryTTF.java index 7fb875627..dc35a78ae 100644 --- a/app/src/main/java/io/legado/app/model/analyzeRule/QueryTTF.java +++ b/app/src/main/java/io/legado/app/model/analyzeRule/QueryTTF.java @@ -455,12 +455,11 @@ public class QueryTTF { g.yCoordinates[n] = same == 1 ? (short) 0 : fontReader.ReadInt16(); } } - // 相对坐标转绝对坐标 -// for (int n = 1; n < flagLength; ++n) { -// xCoordinates[n] += xCoordinates[n - 1]; -// yCoordinates[n] += yCoordinates[n - 1]; -// } - + /* 相对坐标转绝对坐标 + for (int n = 1; n < flagLength; ++n) { + xCoordinates[n] += xCoordinates[n - 1]; + yCoordinates[n] += yCoordinates[n - 1]; + }*/ glyf.add(g); } else { // 复合字体暂未使用