font: do not limit the number of glyphs and rules

NGLYPHS and NGRULES macros are removed.
dict: use ints for keys
roff: long for memory size in mextend()