s = lines,\
                                flags = DF_WRAP_ELLIPSIS)
    // find out just how big this has to be
    var/size = namefont.RoundUp32(namefont.GetWidth(txt))
    var/icon/I = namefont.DrawText(txt, size / 2, 0,\
                     width = size, maxlines = lines,\
                     flags = DF_JUSTIFY_CENTER,\
                     icons_x = size / 32, icons_y = 1)
    var/obj/O = new
    O.pixel_y = -32
    O.icon = I
    overlays = list()   // reset overlays
    for(var/xx = 0, xx &lt; I.s