From f35dea5dadf6489028d758d4f56cabed0f360750 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 29 May 2012 22:41:14 +0000 Subject: luaotfload 1.27 (28may12) git-svn-id: svn://tug.org/texlive/trunk@26718 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/luatex/luaotfload/NEWS | 3 +++ .../doc/luatex/luaotfload/luaotfload.pdf | Bin 103091 -> 103428 bytes .../source/luatex/luaotfload/luaotfload.dtx | 12 ++++++------ .../tex/luatex/luaotfload/luaotfload.lua | 4 ++-- .../tex/luatex/luaotfload/luaotfload.sty | 2 +- .../tex/luatex/luaotfload/otfl-font-otf.lua | 10 ++++++---- 6 files changed, 18 insertions(+), 13 deletions(-) diff --git a/Master/texmf-dist/doc/luatex/luaotfload/NEWS b/Master/texmf-dist/doc/luatex/luaotfload/NEWS index eb6f20f7c8c..ceff36ab60f 100644 --- a/Master/texmf-dist/doc/luatex/luaotfload/NEWS +++ b/Master/texmf-dist/doc/luatex/luaotfload/NEWS @@ -1,6 +1,9 @@ Change History -------------- +2012/05/28, luaotfload v1.27: + * Fix "endless loop in charlist" with some OpenType math fonts + 2012/03/27, luaotfload v1.26: * Enable setting italic correction values by default * Fix finding demibold italic fonts diff --git a/Master/texmf-dist/doc/luatex/luaotfload/luaotfload.pdf b/Master/texmf-dist/doc/luatex/luaotfload/luaotfload.pdf index 1aa327f1591..0c83b375540 100644 Binary files a/Master/texmf-dist/doc/luatex/luaotfload/luaotfload.pdf and b/Master/texmf-dist/doc/luatex/luaotfload/luaotfload.pdf differ diff --git a/Master/texmf-dist/source/luatex/luaotfload/luaotfload.dtx b/Master/texmf-dist/source/luatex/luaotfload/luaotfload.dtx index d0a5784dbac..452159075bd 100644 --- a/Master/texmf-dist/source/luatex/luaotfload/luaotfload.dtx +++ b/Master/texmf-dist/source/luatex/luaotfload/luaotfload.dtx @@ -36,7 +36,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: luaotfload v1.26 OpenType layout system} +\Msg{* Package: luaotfload v1.27 OpenType layout system} \Msg{************************************************************************} \keepsilent @@ -104,7 +104,7 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{luaotfload.drv}% - [2012/03/27 v1.26 OpenType layout system]% + [2012/05/28 v1.27 OpenType layout system]% \documentclass{ltxdoc} \usepackage{metalogo,multicol,mdwlist,fancyvrb,xcolor,xspace} \usepackage[ @@ -166,7 +166,7 @@ and the derived files % \GetFileInfo{luaotfload.drv} % % \title{The \textsf{luaotfload} package} -% \date{2012/03/27 v1.26} +% \date{2012/05/28 v1.27} % \author{Elie Roux and Khaled Hosny\\ % Support: \email{lualatex-dev@tug.org}} % @@ -453,8 +453,8 @@ module("luaotfload", package.seeall) luaotfload.module = { name = "luaotfload", - version = 1.26, - date = "2012/03/27", + version = 1.27, + date = "2012/05/28", description = "OpenType layout system.", author = "Elie Roux & Hans Hagen", copyright = "Elie Roux", @@ -725,7 +725,7 @@ luatexbase.add_to_callback("luaotfload.patch_font", set_sscale_diments, "unicode \else \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{luaotfload}% - [2012/03/27 v1.26 OpenType layout system] + [2012/05/28 v1.27 OpenType layout system] \RequirePackage{luatexbase} \fi diff --git a/Master/texmf-dist/tex/luatex/luaotfload/luaotfload.lua b/Master/texmf-dist/tex/luatex/luaotfload/luaotfload.lua index 048253228a2..f66221fa93a 100644 --- a/Master/texmf-dist/tex/luatex/luaotfload/luaotfload.lua +++ b/Master/texmf-dist/tex/luatex/luaotfload/luaotfload.lua @@ -21,8 +21,8 @@ module("luaotfload", package.seeall) luaotfload.module = { name = "luaotfload", - version = 1.26, - date = "2012/03/27", + version = 1.27, + date = "2012/05/28", description = "OpenType layout system.", author = "Elie Roux & Hans Hagen", copyright = "Elie Roux", diff --git a/Master/texmf-dist/tex/luatex/luaotfload/luaotfload.sty b/Master/texmf-dist/tex/luatex/luaotfload/luaotfload.sty index 6f14438876c..e865ed13f3f 100644 --- a/Master/texmf-dist/tex/luatex/luaotfload/luaotfload.sty +++ b/Master/texmf-dist/tex/luatex/luaotfload/luaotfload.sty @@ -26,7 +26,7 @@ \else \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{luaotfload}% - [2012/03/27 v1.26 OpenType layout system] + [2012/05/28 v1.27 OpenType layout system] \RequirePackage{luatexbase} \fi diff --git a/Master/texmf-dist/tex/luatex/luaotfload/otfl-font-otf.lua b/Master/texmf-dist/tex/luatex/luaotfload/otfl-font-otf.lua index fe9cd51d4c0..b46bc91915f 100644 --- a/Master/texmf-dist/tex/luatex/luaotfload/otfl-font-otf.lua +++ b/Master/texmf-dist/tex/luatex/luaotfload/otfl-font-otf.lua @@ -1560,26 +1560,28 @@ function otf.copy_to_tfm(data,cache_id) -- we can save a copy when we reorder th -- we have them shared because that packs nicer -- we could prepare the variants and keep 'm in descriptions if m then - local variants, parts, c = m.horiz_variants, m.horiz_parts, char + local variants, parts, c, uc = m.horiz_variants, m.horiz_parts, char, u if variants then for n in gmatch(variants,"[^ ]+") do local un = unicodes[n] - if un and u ~= un then + if un and uc ~= un then c.next = un c = characters[un] + uc = un end end c.horiz_variants = parts elseif parts then c.horiz_variants = parts end - local variants, parts, c = m.vert_variants, m.vert_parts, char + local variants, parts, c, uc = m.vert_variants, m.vert_parts, char, u if variants then for n in gmatch(variants,"[^ ]+") do local un = unicodes[n] - if un and u ~= un then + if un and uc ~= un then c.next = un c = characters[un] + uc = un end end -- c is now last in chain c.vert_variants = parts -- cgit v1.2.3