public static void addArtText(PdfContentByte cb,float page_width,float page_height, String font_path, String font_content, float font_x, float font_y, float font_size, int font_alignment, float font_rotate, String image_path, float image_x, float image_y, float image_width, float image_height) throws DocumentException, IOException {
PdfTemplate pdfTemplate = cb.createTemplate(page_width,page_height);
float pt = 72f/25.4f;
pdfTemplate.setTextRenderingMode(PdfContentByte.TEXT_RENDER_MODE_CLIP);
BaseFont baseFont = BaseFont.createFont(font_path, "Identity-H", false);
pdfTemplate.beginText();
pdfTemplate.setFontAndSize(baseFont, font_size);
pdfTemplate.showTextAligned(font_alignment, font_content, font_x, font_y, font_rotate);
pdfTemplate.endText();
Image image = Image.getInstance(image_path);
pdfTemplate.addImage(image, image_width*pt, 0, 0,image_height*pt, image_x, image_y);
cb.addTemplate(pdfTemplate,0,0);
}