Dear support team,
I’d like to ask, if it’s possible to force the XPS-export-function to use unique font names for the resources for every export (each time a new GUID as file name) like PowerPoint.
We have a very special handling of XPS pages within our WPF application. To be able to create visuals from a XPS page we save it as XAML in another thread and use the string value to create a visual within the UI thread. To be able to use the fonts, we are replacing all links to resources with absolute paths pointing to the XPS file. The problem here is, that WPF seems to have a font cache, so if we update the underlying XPS and this new XPS contains characters that are not in the initial referenced font file, these characters can’t be displayed correctly, because the URI to the font file within the XPS hasn’t changed.
With Powerpoint this problem doesn’t exist, because Powerpoint uses a newly created GUID for every font file at every export, so the URI to the font files within the XPS package is never the same.
Another option would be to export the complete font, not only the uses glyphes.
Thank’s for your time.