X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=doc%2Fjfm-test.lua;h=fdee46c356e12764a1aafa0b62c7f37e94b3fb52;hb=cf51a2259a27eeed9a3d5d0c40c767a5e6bc403e;hp=aa7464714223155db1ea8b8a507e58c2f7501786;hpb=94f90a7c1d51ae319a8192898d6cadfe4b7e7c81;p=luatex-ja%2Fluatexja.git diff --git a/doc/jfm-test.lua b/doc/jfm-test.lua index aa74647..fdee46c 100644 --- a/doc/jfm-test.lua +++ b/doc/jfm-test.lua @@ -5,6 +5,7 @@ luatexja.jfont.define_jfm { xkanjiskip = { 0.31, 0.045, 0.057 }, [0] = { + chars = { '漢', 'ヒ*' }, align = 'left', left = 0.0, down = 0.0, width = 1.0, height = 0.88, depth = 0.12, italic=0.0, }, @@ -12,7 +13,7 @@ luatexja.jfont.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 +60,32 @@ luatexja.jfont.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} }, + }, + [2000] = { + chars = { '。', '、*', 'ヒ' }, + align = 'left', left = 0.0, down = 0.0, + width = 0.5, height = 0.88, depth = 0.12, italic=0.0, + }, + [100] = { + chars = { '「' }, + align = 'right', left = 0.0, down = 0.0, + width = 0.5, height = 0.88, depth = 0.12, italic=0.0, + }, + [101] = { + chars = { '【' }, + align = 'right', left = 0.0, down = 0.0, + width = 0.5, height = 0.88, depth = 0.12, italic=0.0, + }, + [102] = { + chars = { '〔' }, + align = 'right', left = 0.0, down = 0.0, + width = 0.5, height = 0.88, depth = 0.12, italic=0.0, + }, [99] = { chars = { 'jcharbdd' }, glue = { [11] = { 1.41, 0, 0} }, @@ -68,6 +95,15 @@ luatexja.jfont.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} }, + kern = { [100] = -0.5, [102] = 0.5 } + }, + [399] = { + chars = { -1 }, -- math + glue = { [0] = { 0.68, 0.02, 0.04} }, + }, [8] = { chars = { 'lineend' }, }