pull/1296/head
gedoor 3 years ago
parent f2157b914b
commit c5ae3b5cd9
  1. 11
      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(); g.yCoordinates[n] = same == 1 ? (short) 0 : fontReader.ReadInt16();
} }
} }
// 相对坐标转绝对坐标 /* 相对坐标转绝对坐标
// for (int n = 1; n < flagLength; ++n) { for (int n = 1; n < flagLength; ++n) {
// xCoordinates[n] += xCoordinates[n - 1]; xCoordinates[n] += xCoordinates[n - 1];
// yCoordinates[n] += yCoordinates[n - 1]; yCoordinates[n] += yCoordinates[n - 1];
// } }*/
glyf.add(g); glyf.add(g);
} else { } else {
// 复合字体暂未使用 // 复合字体暂未使用

Loading…
Cancel
Save