Implement leaning mark mechanism for F
, L
, P
, b
, d
, h
, k
, p
, q
, r
to get better mark placement. Now, "narrow" marks will align to these letters' extension parts (#1851).
This commit is contained in:
parent
387389919c
commit
f7fd09172b
33 changed files with 419 additions and 168 deletions
|
@ -21,7 +21,7 @@ function assignSubRank(glyphStore) {
|
|||
// "Fixed" subfamilies are properly built.
|
||||
function validateMonospace(para, glyphStore) {
|
||||
let awSet = new Set();
|
||||
for (const [u, g] of glyphStore.encodedEntries()) {
|
||||
for (const [u, n, g] of glyphStore.encodedEntries()) {
|
||||
const aw = Math.round(g.advanceWidth || 0);
|
||||
if (aw > 0) awSet.add(aw);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue