I have already tried addFontFile from Resources and it didn't help me. I've also tried to find other pages on this topic to no avail.
I have two font files (.ttf) that I've included as resource files in my VS2017 project. Now I need to load these files (I'm using iTextSharp). I don't see how to do it. It's clearly not as simple as
font = BaseFont.CreateFont("Resources/OpenSans-Regular.ttf", BaseFont.CP1252, BaseFont.EMBEDDED);
because that fires an exception.
Does anyone know how to read a .ttf resource from within Visual Studio? Thanks.