Subversion Repositories SmartDukaan

Rev

Rev 9044 | Rev 9100 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9044 Rev 9099
Line 772... Line 772...
772
		PdfPTable flipkartTable = new PdfPTable(3);
772
		PdfPTable flipkartTable = new PdfPTable(3);
773
		
773
		
774
		PdfPCell spacerCell = new PdfPCell();
774
		PdfPCell spacerCell = new PdfPCell();
775
		spacerCell.setBorder(Rectangle.NO_BORDER);
775
		spacerCell.setBorder(Rectangle.NO_BORDER);
776
		spacerCell.setColspan(3);
776
		spacerCell.setColspan(3);
777
		spacerCell.setPaddingTop(350.0f);
777
		spacerCell.setPaddingTop(330.0f);
778
		
778
		
779
		String flipkartCodeFontPath = InvoiceGenerationService.class.getResource("/saholic-wn.TTF").getPath();
779
		String flipkartCodeFontPath = InvoiceGenerationService.class.getResource("/saholic-wn.TTF").getPath();
780
		FontFactoryImp ttfFontFactory = new FontFactoryImp();
780
		FontFactoryImp ttfFontFactory = new FontFactoryImp();
781
		ttfFontFactory.register(flipkartCodeFontPath, "barcode");
781
		ttfFontFactory.register(flipkartCodeFontPath, "barcode");
782
		Font flipkartBarCodeFont = ttfFontFactory.getFont("barcode", BaseFont.CP1252, true, 20);
782
		Font flipkartBarCodeFont = ttfFontFactory.getFont("barcode", BaseFont.CP1252, true, 20);