Subversion Repositories SmartDukaan

Rev

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

Rev 8094 Rev 8095
Line 378... Line 378...
378
		}
378
		}
379
		logoCell.setBorder(Rectangle.NO_BORDER);
379
		logoCell.setBorder(Rectangle.NO_BORDER);
380
		logoCell.setHorizontalAlignment(Element.ALIGN_LEFT);
380
		logoCell.setHorizontalAlignment(Element.ALIGN_LEFT);
381
		
381
		
382
		logoTable.addCell(logoCell);
382
		logoTable.addCell(logoCell);
383
		if(logo!=null)
383
		//if(logo!=null)
384
			logoTable.addCell(logo);
384
			//logoTable.addCell(logo);
385
	}
385
	}
386
 
386
 
387
	private Font getBarCodeFont(Provider provider, float barcodeFontSize) {
387
	private Font getBarCodeFont(Provider provider, float barcodeFontSize) {
388
		String fontPath = InvoiceGenerationService.class.getResource("/" + provider.getName().toLowerCase() + "/barcode.TTF").getPath();
388
		String fontPath = InvoiceGenerationService.class.getResource("/" + provider.getName().toLowerCase() + "/barcode.TTF").getPath();
389
		FontFactoryImp ttfFontFactory = new FontFactoryImp();
389
		FontFactoryImp ttfFontFactory = new FontFactoryImp();