![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
Hi, the beta reports a nil value for "getsubtype", fix below. if not direct.is_glyph then local getchar = direct.getchar local getid = direct.getid local getfont = direct.getfont + local getsubtype = direct.getsubtype local glyph_code = nodes.nodecodes.glyph function direct.is_glyph(n,f) local id = getid(n) if id == glyph_code then if f and getfont(n) == f then return getchar(n) else return false end else return nil, id end end function direct.is_char(n,f) local id = getid(n) if id == glyph_code then if getsubtype(n) >= 256 then return false elseif f and getfont(n) == f then return getchar(n) else return false end else return nil, id end end end Wolfgang