• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

ソースコードの管理場所


Commit MetaInfo

修订版0b083d7c6dd910c09b403c21f2ae4cbfe0b3c262 (tree)
时间2016-05-04 10:45:42
作者Hironori Kitagawa <h_kitagawa2001@yaho...>
CommiterHironori Kitagawa

Log Message

fix IVS, CID related codes

更改概述

差异

--- a/src/ltj-jfont.lua
+++ b/src/ltj-jfont.lua
@@ -700,7 +700,7 @@ do
700700 end
701701 if uniq_flag then
702702 dest = dest or {}; dest[bu] = dest[bu] or {}
703- dest[bu][vsel] = unitable[i]
703+ dest[bu][vsel] = unitable[gv.name]
704704 end
705705 end
706706 end
--- a/src/ltj-otf.lua
+++ b/src/ltj-otf.lua
@@ -173,7 +173,8 @@ ltjb.add_to_callback('pre_linebreak_filter', extract,'ltj.otf',
173173 local function cid_to_char(fmtable, fn)
174174 local fi = identifiers[fn]
175175 local fe = ltjf_font_extra_info[fn]
176- if fi.cidinfo and fi.cidinfo.ordering == "Japan1" and fe then
176+ if (fi.resources and fi.resources.cidinfo and fi.resources.cidinfo.ordering == "Japan1" )
177+ and (fe and fe.unicodes) then
177178 for i, v in pairs(fmtable.chars) do
178179 local j = string.match(i, "^AJ1%-([0-9]*)")
179180 if j then
@@ -236,7 +237,7 @@ do
236237 if qc>=0xE0100 then qc = qc - 0xE0100 end
237238 local pf = getfont(p)
238239 local pt = ltjf_font_extra_info[pf]
239- pt = pt and pt[getchar(p)]; pt = pt and pt[qc]
240+ pt = pt and pt[getchar(p)]; pt = pt and pt[qc]
240241 head, r = node_remove(head,q)
241242 node_free(q)
242243 if pt then