I want to use Verdana as a font while stamping a PDF file with iText PDF. The original file uses Verdana, which isn\'t an option in the class Basefont.
Here is the f
Adding this line makes sure the FontFactory actually registers the fonts in the operating systems' default fonts directories:
FontFactory.RegisterDirectories();
After that all the installed fonts can be found using something like
var myfont = FontFactory.GetFont("Verdana", 10f, iTextSharp.text.Font.NORMAL);
I get that this post is old, but it's still relevant I guess.