• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

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

ソースコードの管理場所


Commit MetaInfo

Révision60378cef325e483158392b0e6e5adc1b50d5bd91 (tree)
l'heure2014-11-07 19:27:03
AuteurHironori Kitagawa <h_kitagawa2001@yaho...>
CommiterHironori Kitagawa

Message de Log

Fix a bug caused by commit 0526b27.

Change Summary

Modification

--- a/src/ltj-jfmglue.lua
+++ b/src/ltj-jfmglue.lua
@@ -112,7 +112,7 @@ do
112112 local stop_time_measure = ltjb.stop_time_measure
113113 slow_find_char_class = function (c, m, oc)
114114 local cls = ltjf_find_char_class(oc, m)
115- if oc~=c and cls==0 then
115+ if c and oc~=c and cls==0 then
116116 return ltjf_find_char_class(-c, m), oc
117117 else
118118 return cls, oc
@@ -320,7 +320,7 @@ local min, max = math.min, math.max
320320 local function calc_np_aux_glyph_common(lp)
321321 Np.nuc = lp
322322 Np.id = npi
323- if ltjs_orig_char_table[lp] then
323+ if getfield(lp, 'lang') == lang_ja then
324324 Np.id = id_jglyph
325325 set_np_xspc_jachar(Np, lp)
326326 local npi, npf
@@ -345,7 +345,7 @@ local function calc_np_aux_glyph_common(lp)
345345 lp=lx; break
346346 else
347347 local lid = getid(lx)
348- if lid==id_glyph and not ltjs_orig_char_table[lx] then
348+ if lid==id_glyph and getfield(lx, 'lang') ~= lang_ja then
349349 -- 欧文文字
350350 last_glyph = lx; set_attr(lx, attr_icflag, PROCESSED); Np.last = lx
351351 y_adjust = has_attr(lx,attr_ablshift) or 0