more work on text mode test.
trigger newline if glyph would overflow line.
factor out glyph width calculation
finish implementing unicode_apply_line to copy a series of
rendered glyphs to the display.  appends $FFFF character to
end. does not reset line or advance screen pointers, so can be
called repeatedly after rendering each character on a line if
desired.