Fix horrid LineState code; stub out use of Font class.