We have an application that communicates with printers using their internal printer fonts. This requires sending some data in a binary format using a font description proper
It is impossible to save such values in an XML file. You might need to encode it before hand. You could use Base 64 for this.