viewer: handle glyph widths array if presents

so, now we can correctly position glyphs, at least if the font
contains widths array.