FontFactoryImp
is part of iText/iTextSharp core. It provides access to the required core 14 fonts and allows you to optionally register additional font files and give them nice names. But unless you manually register a font file it will just return the "default" font.
XMLWorkerFontProvider
is part of XMLWorker
and is actually a subclass of FontFactoryImp
. The biggest difference between the two is that if you use the empty constructor on XMLWorkerFontProvider
it actually calls base.RegisterDirectories()
which registeres every font in the system font folder. Depending on the number of fonts you have this could be expensive which is why the default version doesn't do it.