I tried to use PDFBox in wpf (worked fine in a winform project), but an error ("typeinintialization for org.pdfbox.pdmodel.font.PDType1Font caused an exception") keeps popping up. I embedded a windows form textbox into wpf, but the same error pops up.
Someone, who can help? Also is there a another way to display pdf in wpf without the need to have adobe reader installed?
Loading

Answers
Know the answer? Post it. Somebody with the same question will find it here.