Bug 56511: Add a null-check to ensure that the run actually has a font to not cause a NullPointerException but rather return null as documented