I am getting an error trying to select a font for my Aspose.PDF document.
I have the font installed on my my machine and the font is correctly selected from Aspose.Words as a run for a TextBox:
Run blurbText = new Run(doc); blurbText.Font.Name = " CentSchbook BT";
But, when I selected the Font from within Aspose.PDF and enter the code:
tf.TextState.Font = FontRepository.FindFont("CentSchbook BT");
There is an error.
How do I modify a PDF (adding some text via a floatingbox) and set the font.