summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luatexja/ltj-otf.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-07-12 23:26:02 +0000
committerKarl Berry <karl@freefriends.org>2013-07-12 23:26:02 +0000
commit50834d5bc5540f43c363b17c18a9809b5a827a47 (patch)
treed15996fcb49041557c50bf78b1a2dfd21c47e5a9 /Master/texmf-dist/tex/luatex/luatexja/ltj-otf.lua
parent944cd493cc09852c6d84e0519760c97750efb2aa (diff)
luatexja 20130711.0 (12jul13)
git-svn-id: svn://tug.org/texlive/trunk@31183 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/ltj-otf.lua')
-rw-r--r--Master/texmf-dist/tex/luatex/luatexja/ltj-otf.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltj-otf.lua b/Master/texmf-dist/tex/luatex/luatexja/ltj-otf.lua
index faef663d239..cdcd7e21175 100644
--- a/Master/texmf-dist/tex/luatex/luatexja/ltj-otf.lua
+++ b/Master/texmf-dist/tex/luatex/luatexja/ltj-otf.lua
@@ -70,7 +70,7 @@ end
local function cid(key)
if key==0 then return append_jglyph(char) end
- local curjfnt = fonts.ids[tex.attribute[attr_curjfnt]]
+ local curjfnt = fonts.hashes.identifiers[tex.attribute[attr_curjfnt]]
if not curjfnt.cidinfo or
curjfnt.cidinfo.ordering ~= "Japan1" and
curjfnt.cidinfo.ordering ~= "GB1" and
@@ -135,9 +135,9 @@ luatexbase.add_to_callback('pre_linebreak_filter',
-- これらの文字指定は,和文フォント定義ごとに,それぞれのフォントの
-- CID <-> グリフ 対応状況による変換テーブルが用意される.
--- フォント読み込み時に,CID
+-- 和文フォント読み込み時に,CID -> unicode 対応をとっておく.
local function cid_to_char(fmtable, fn)
- local fi = fonts.ids[fn]
+ local fi = fonts.hashes.identifiers[fn]
if fi.cidinfo and fi.cidinfo.ordering == "Japan1" then
fmtable.cid_char_type = {}
for i, v in pairs(fmtable.chars) do