text rendering adopted from waveplot. shader subsystem log has bugs