X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=src%2Fltj-setwidth.lua;h=d92a4c667d65ab2f0c6d2f6e272bf2bf1daef4bf;hb=847312c712d721a0198c00563075948541ced2b7;hp=30d9448995d831ecf5f3a5e1e073b34dcf4872b4;hpb=72dd4273df6e03d84f45bb73e10c827d5742e0bd;p=luatex-ja%2Fluatexja.git diff --git a/src/ltj-setwidth.lua b/src/ltj-setwidth.lua index 30d9448..d92a4c6 100644 --- a/src/ltj-setwidth.lua +++ b/src/ltj-setwidth.lua @@ -194,6 +194,8 @@ function luatexja.setwidth.set_ja_width(ahead, adir) p = capsule_glyph(p, ltjf_font_metric_table[pf], has_attr(p, attr_jchar_class)) else + -- TODO: neg. offset does not increase depth + --local d = getfield(p, 'yoffset') - (has_attr(p,attr_ablshift) or 0) set_attr(p, attr_icflag, PROCESSED) setfield(p, 'yoffset', getfield(p, 'yoffset') - (has_attr(p,attr_ablshift) or 0))