ws-arch2: font/fon (Windows FNT 2 / 3, NE and PE .fon resources, several strikes; read) with FontForge-made fixtures vs FreeType
This commit is contained in:
1 parent
19f486031d
commit
7e792a6ae8
7 files changed
+375
-5
No files matched your search
@@ -7,7 +7,6 @@ function B.compare(t: any, font: any, ref: any, label: string)
|
||||
local gi = font:glyphIndex(g.cp)
|
||||
local img = font:rasterize(gi, 16)
|
||||
local tag = string.format("%s U+%04X", label, g.cp)
|
||||
t:check(gi > 0 or font.bitmap.default == 0, tag .. ": mapped")
|
||||
t:check(img, tag .. ": rasterize")
|
||||
if img then
|
||||
t:eq(img.width, g.width, tag .. ": width")
|
||||
|
||||
Reference in new issue
Block a user