You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Veli Hasanli <vv...@gmail.com> on 2012/12/29 13:01:13 UTC

Using external Fonts

I wrote a program, that extract all bold words from pdf documents.
But It works only such pdf files, which are written in a known "Standard 14
Fonts".
I couldn't run the program correctly on other type of pdf, that is written
in different font.
I had inclueded the following code into my program:

 PDFont font = PDTrueTypeFont.loadTTF( document, new File( "Aztimslt.ttf" )
);

But unfirtunately, my problem has not been solved.
PLease help me.
Thanks