[lltx] [metapost] luamplib

Khaled Hosny khaledhosny at eglug.org
Sat Nov 13 23:02:46 CET 2010


On Sat, Nov 13, 2010 at 09:19:33AM +0100, Elie Roux wrote:
> Hans Hagen a écrit :
> >Hi Ely,
> >
> >in luamplib there is a bug:
> >
> >local function pen_characteristics(object)
> >    if luamplib.pen_info then
> >        local t = luamplib.pen_info(object)
> >        rx, ry, sx, sy, tx, ty = t.rx, t.ry, t.sx, t.sy, t.tx, t.ty
> >        divider = sx*sy - rx*ry
> >        return not (sx==1 and rx==0 and ry==0 and sy==1 and tx==0
> >and ty==0), t.width
> >    else
> >        rx, sx, sy, ry, tx, ty, divider = 1, 0, 0, 1, 0, 0, 1
> >        return false, 1
> >    end
> >end
> >
> >luamplib.pen_info
> >
> >should be
> >
> >mplib.pen_info
> >
> >(probably some side effect of renaming at your end)
> >
> >Actually I think that
> >
> >local function pen_characteristics(object)
> >    local t = mplib.pen_info(object)
> >    rx, ry, sx, sy, tx, ty = t.rx, t.ry, t.sx, t.sy, t.tx, t.ty
> >    divider = sx*sy - rx*ry
> >    return not (sx==1 and rx==0 and ry==0 and sy==1 and tx==0 and
> >ty==0), t.width
> >end
> >
> >is ok as well, as pen_info is already in mpib for a while
> 
> Hello Hans,
> 
> Thank you for your report! I'm not working on the packages anymore,
> but I transfer the informations.

So who is maintaining luamplib now? Manuel is it under your radar? I'd
try to co-maintain it if needed.

Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer


More information about the lualatex-dev mailing list