X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=test%2Fjfm-test.lua;h=cd7fe021e0fe0d56098568fe9cc185e595c9178e;hb=cf51a2259a27eeed9a3d5d0c40c767a5e6bc403e;hp=83c48ea67a6529d2ca37d5f32cb609a088265542;hpb=f484f99415ba3ed633cdd5a415739de18fa31a63;p=luatex-ja%2Fluatexja.git diff --git a/test/jfm-test.lua b/test/jfm-test.lua index 83c48ea..cd7fe02 100644 --- a/test/jfm-test.lua +++ b/test/jfm-test.lua @@ -1,4 +1,4 @@ -ltj.define_jfm { +luatexja.jfont.define_jfm { dir = 'yoko', zw = 1.0, zh = 1.0, kanjiskip = { 0.1, 0.04, 0.05 }, @@ -12,7 +12,7 @@ ltj.define_jfm { chars = { 'あ' }, align = 'left', left = 0.0, down = 0.0, width = 1.0, height = 0.88, depth = 0.12, italic=0.0, - glue = { [3] = { 1.41, 0, 0} }, + glue = { [3] = { 1.41, 0, 0}, [399] = {1.25, 0.43, 0.87} }, kern = { [8] = -1.41 , [2] = 2.0, [99] = 1.21 } }, [11] = { @@ -59,6 +59,12 @@ ltj.define_jfm { align = 'left', left = 0.0, down = 0.0, width = 1.0, height = 0.88, depth = 0.12, italic=0.0 }, + [4] = { + chars = { 'エ' }, + align = 'left', left = 0.0, down = 0.0, + width = 1.0, height = 0.88, depth = 0.12, italic=0.0, + glue = { [199] = { 0.78, 0, 0} }, + }, [99] = { chars = { 'jcharbdd' }, glue = { [11] = { 1.41, 0, 0} }, @@ -68,6 +74,14 @@ ltj.define_jfm { chars = { 'boxbdd' }, glue = { [51] = { 1.03, 0, 0} , [1] = { 0.94, 0.23, 0.45 }}, }, + [299] = { + chars = { 'parbdd' }, + glue = { [51] = { 0.68, 0.02, 0.04} }, + }, + [399] = { + chars = { -1 }, -- math + glue = { [0] = { 0.68, 0.02, 0.04} }, + }, [8] = { chars = { 'lineend' }, }