✅ (jjwxc): 字体测试夹具放进本仓库,不再依赖月读主仓库
Co-authored-by: Copilot <[email protected]>
This commit is contained in:
1 parent
90461c8c06
commit
1f4f113f74
2 files changed
+1
-1
No files matched your search
@@ -159,7 +159,7 @@ end
|
||||
do
|
||||
package.loaded["moonsource_jjwxc.font"] = nil
|
||||
local Font = require("moonsource_jjwxc.font")
|
||||
local fh = assert(io.open("tests/fixtures/jjwxcfont_9eo8b.ttf", "rb"))
|
||||
local fh = assert(io.open(debug.getinfo(1, "S").source:match("^@(.*)/[^/]+/[^/]+$") .. "/fixtures/jjwxcfont_9eo8b.ttf", "rb"))
|
||||
local ttf = fh:read("*a")
|
||||
fh:close()
|
||||
local map = Font.mapping(ttf)
|
||||
|
||||
Reference in new issue
Block a user