• R/O
  • HTTP
  • SSH
  • HTTPS

luatexja: Commit

ソースコードの管理場所


Commit MetaInfo

Revisione7a54cae896e02c5023fa3e1bd6051d1913bf221 (tree)
Time2018-08-11 21:05:16
AuthorHironori Kitagawa <h_kitagawa2001@yaho...>
CommiterHironori Kitagawa

Log Message

240b0ec causes inf. loop... why?

Change Summary

Incremental Difference

--- a/src/ltj-jfmglue.lua
+++ b/src/ltj-jfmglue.lua
@@ -3,7 +3,7 @@
33 --
44 luatexbase.provides_module({
55 name = 'luatexja.jfmglue',
6- date = '2018/02/18',
6+ date = '2018/08/11',
77 description = 'Insertion process of JFM glues, [x]kanjiskip and others',
88 })
99 luatexja.jfmglue = luatexja.jfmglue or {}
@@ -280,7 +280,8 @@ local function check_next_ickern(lp)
280280 end
281281
282282 local function calc_np_pbox(lp, last)
283- local first, lpa, nc = (not Np.first), get_attr_icflag(lp), nil
283+ local first, nc = (not Np.first), nil
284+ local lpa = get_attr_icflag(lp)==PACKED and PACKED or KINSOKU -- KINSOKU: dummy
284285 Np.first = Np.first or lp; Np.id = id_pbox
285286 set_attr(lp, attr_icflag, get_attr_icflag(lp));
286287 while lp ~=last and (lpa>=PACKED) and (lpa<BOXBDD) do
Show on old repository browser