I have not been able to successfully embed fonts into my PowerPoint slides using .Net 5.0. I have tried both the FontsBasedDirectory and FontsBaseResourceLocation, and neither has seemed to work. Is there a way to debug and see if the app cannot find a font when specified?
I ran the example: Advanced Features > Private Fonts (it has the Almonte Snow font). I converted it to an .Net 5.0 app. Saving as PDF as the example shows, works. But, when I changed the save option to PPTX, the code does not embed the font into the Powerpoint exported file.
Please advise, as I have an icon font that I need to embed in a presentation. Thanks!