We have a custom made barcode font, but when we create the pdf we get an error.
"Object reference not set to an instance of an object."
But when we use an other custom font (not barcode) we don't get an error and everything works fine.
TrueTypeFont barcode = new TrueTypeFont("PJC39.ttf");
page.Elements.Add(new ceTe.DynamicPDF.PageElements.Label(value, 300, 500, 100 ,10, barcode, 12));
it goes wrong when the pdf is drawn.
doc.DrawToWeb( this, "name.pdf");
Are we doing something wrong?