ws-arch: font/woff and font/woff2 (glyf/loca/hmtx transforms) with tests: identical glyphs to the sfnt
This commit is contained in:
1 parent
e7037cced1
commit
64dc0aa7f5
9 files changed
+964
-2
No files matched your search
@@ -31,7 +31,7 @@ def generate(ctx):
|
||||
for r in f["renders"]:
|
||||
r["pixels"] = d(r["pixels"])
|
||||
for w in res["woff"]:
|
||||
w["woff"], w["woff2"] = d(w["woff"]), d(w["woff2"])
|
||||
w["woff"], w["woff2"], w["woff2h"] = d(w["woff"]), d(w["woff2"]), d(w["woff2h"])
|
||||
if "ttc" in res:
|
||||
res["ttc"]["data"] = d(res["ttc"]["data"])
|
||||
ctx.emit("fonts", res)
|
||||
Reference in new issue
Block a user