finally figured out that the font needs to be specified before the window
minor