diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2012-08-21 05:17:59 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2012-08-21 05:17:59 +0000 |
commit | d3f73c645fb1b1b35402b451be9a4aa8b19d9d20 (patch) | |
tree | 7d3ade8e7722ae9bf59a2fc6f4733e6beb0a2173 /Build/source | |
parent | d701f0452b379ab63164a769a55f608c77a4bdf3 (diff) |
recover the old code
git-svn-id: svn://tug.org/texlive/trunk@27478 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/tex/texdeffont.w | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/luatexdir/ChangeLog b/Build/source/texk/web2c/luatexdir/ChangeLog index 55936b8e4c2..4e16cd4a611 100644 --- a/Build/source/texk/web2c/luatexdir/ChangeLog +++ b/Build/source/texk/web2c/luatexdir/ChangeLog @@ -1,3 +1,8 @@ +2012-08-21 Akira Kakuto <kakuto@fuk.kinidai.ac.jp> + + * tex/texdeffont.w (tex_def_font): Recover the old code, because the + new code seems not to work. + 2012-08-10 Peter Breitenlohner <peb@mppmu.mpg.de> * ptexlib.h: Drop unused definition of M_PI. diff --git a/Build/source/texk/web2c/luatexdir/tex/texdeffont.w b/Build/source/texk/web2c/luatexdir/tex/texdeffont.w index fdfabd859ca..eab44838beb 100644 --- a/Build/source/texk/web2c/luatexdir/tex/texdeffont.w +++ b/Build/source/texk/web2c/luatexdir/tex/texdeffont.w @@ -198,11 +198,17 @@ void tex_def_font(small_number a) fn = makecstring(cur_name); f = read_font_info(u, fn, s, natural_dir); xfree(fn); +/* + The new code seems not to work. if (a >= 4) { geq_define(u, set_font_cmd, null_font); } else { eq_define(u, set_font_cmd, null_font); } + Therefore the old code is used here. +*/ + equiv(u) = f; + eqtb[font_id_base + f] = eqtb[u]; cs_text(font_id_base + f) = t; } |