Hi Rob, Rob Bradley schrieb: > I need to add a barcode 39 to new pdf documents. Does anyone have an > example? I would assume it is just a matter of loading a font. > > I have everything else working well, but I just have done much with fonts > other than the defaults yet. If your font is a truetype try something like this before adding some text to the document:
PDDocument doc = PDDocument.load( ... );
PDFont font = PDTrueTypeFont.loadTTF(doc, new File("SpecialFont.ttf"));
BR
Andreas Lehmkühler
