This worked for me, although I’ve used the custom font (Roboto) for different commands (text and legend). Also, error messages still haunted me (“Representation of font type not recognized. Using default.”) but everything worked well. Even used custom color and background color for the text.