I am trying to draw a string into an image.is it possible to add multiple Font style at the same text(bold and italic).?
my code is:
Graphics g = image.getGraphics();
Font font = new Font("Arial", Font.ITALIC, 16);
g.setFont(font);
g.drawString(text, 100, 100);
g.dispose();
but i want to add italic with bold attribute.