OSDN Git Service
(root)
/
luatex-ja
/
luatexja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5faf1f7
)
ltj-rmlgbm.lua: fix
author
Hironori Kitagawa
<h_kitagawa2001@yahoo.co.jp>
Mon, 13 Mar 2023 10:04:25 +0000
(19:04 +0900)
committer
Hironori Kitagawa
<h_kitagawa2001@yahoo.co.jp>
Mon, 13 Mar 2023 10:04:25 +0000
(19:04 +0900)
src/ltj-rmlgbm.lua
patch
|
blob
|
history
diff --git
a/src/ltj-rmlgbm.lua
b/src/ltj-rmlgbm.lua
index
ca450ec
..
ee43ca8
100644
(file)
--- a/
src/ltj-rmlgbm.lua
+++ b/
src/ltj-rmlgbm.lua
@@
-224,8
+224,8
@@
do
end
ltjb.save_cache("ltj-cid-auto-" .. string.lower(cid_name),
{version = cache_ver,
end
ltjb.save_cache("ltj-cid-auto-" .. string.lower(cid_name),
{version = cache_ver,
- cid2ucs_modtime = get_modtime(cid_name
..
'-UCS2'),
- ucs2cid = kx[1],
+ cid2ucs_modtime = get_modtime(cid_name
..
'-UCS2'),
+ ucs2cid = kx[1]
..'-H'
,
ucs2cid_modtime = get_modtime(kx[1]..'-H'),
k})
k.shared.rawdata.resources=k.resources
ucs2cid_modtime = get_modtime(kx[1]..'-H'),
k})
k.shared.rawdata.resources=k.resources
@@
-264,8
+264,8
@@
setmetatable(dummy_vht, {__index = function () return 1 end } )
setmetatable(dummy_vorg, {__index = function () return 0.88 end } )
local function cid_cache_outdated(t)
return (t.version~=cache_ver)
setmetatable(dummy_vorg, {__index = function () return 0.88 end } )
local function cid_cache_outdated(t)
return (t.version~=cache_ver)
- or (t.cid2ucs_modtime ~= get_modtime(cid_name
..
'-UCS2'))
- or (t.ucs2cid_modtime ~= get_modtime(t.ucs2cid
.. '-H'
))
+ or (t.cid2ucs_modtime ~= get_modtime(cid_name
..
'-UCS2'))
+ or (t.ucs2cid_modtime ~= get_modtime(t.ucs2cid))
end
local function read_cid_font()
local dat = ltjb.load_cache("ltj-cid-auto-" .. string.lower(cid_name),
end
local function read_cid_font()
local dat = ltjb.load_cache("ltj-cid-auto-" .. string.lower(cid_name),