I received a presentation recently that was saved with embedded fonts but wouldn't save due to one un-embeddable font:
I used the Replace Fonts tool in PowerPoint to try to get rid of this font reference but it didn't work:
Interestingly, VBA reports that there are just 3 fonts in use in the file, none of which are the troublesome font, as per this Immediate pane entry
Having narrowed down a single textbox object that was causing this issue, I then looked at the 5 x font name properties of the shape using VBA:
.Name = "Titillium Web"
.NameAscii = "Titillium Web"
.NameComplexScript = "Titillium WebRegular"
.NameFarEast = "+mn-ea"
.NameOther = "Titillium Web"
Ah ha. So, according to MSDN, the NameComplexScript
property is Read/Write so all I need to do is change it from "Titillium WebRegular" to "Titillium Web" and the problem should be fixed?
No! This doesn't change the property and no error is raised:
.NameComplexScript = "Titillium Web"
So my questions are:
1. Why does PowerPoint report more fonts are in use than the API does (I know Arial is used by template bullets)
2. Why can't I write to the NameComplexScript property?
3. Is there any other way to eradicate the referencing of the troublesome font?