OSDN Git Service

Fixed ticket #25935 (on kitagawa_test branch)
authorHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Mon, 8 Aug 2011 13:30:24 +0000 (22:30 +0900)
committerHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Mon, 8 Aug 2011 13:30:24 +0000 (22:30 +0900)
src/luatexja/pretreat.lua

index 04e1546..286a0ba 100644 (file)
@@ -53,6 +53,7 @@ local function suppress_hyphenate_ja(head)
         else
            unset_attr(p, attr_yablshift)
         end
+         if p.subtype%2==1 then p.subtype = p.subtype - 1 end
         p.lang=lang_ja
       end
    end