I found it works with Type 1 font : Helvetica, Courrier... but not with 
embedded true type font.

Problem is Adlib doesn't embed Type 1 font.

 

Do I have to load the embedded true type font with PDTrueTypeFont.loadTTF to 
use drawString ? And how if I have ?

Can I load it from the pdf or have I to load from the filesystem ?

 

________________________________

De : Jonathan MEREY ([email protected]) 
Envoyé : vendredi 3 avril 2009 14:43
À : [email protected]
Objet : PDFBox text invisible

 

My pdf is created with Adlib.

When I use drawString with pdf embedded Font like « WLKGFB+Arial », I see 
nothing.

If I use a PDType1Font font, I see my text.

 

If I create my pdf with other tools like pdfcreator, I have other fonts like 
Helvetica wich seem to my font in word and it works when I use drawString with 
pdf embedded Font.

 

Does someone know why ?

Reply via email to