OSDN Git Service

Fixed ticket #25935 master-20110808
authorHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Mon, 8 Aug 2011 13:29:14 +0000 (22:29 +0900)
committerHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Mon, 8 Aug 2011 13:29:14 +0000 (22:29 +0900)
src/luatexja-core.lua

index 37d6769..e4d1f04 100644 (file)
@@ -207,6 +207,7 @@ local function main1_suppress_hyphenate_ja(head)
         else
            node.unset_attribute(p, attr_yablshift)
         end
+         if p.subtype%2==1 then p.subtype = p.subtype - 1 end
         p.lang=lang_ja
       end
    end