0

Every thing works fine except that it does not print Futura Font on the picture just a default looking font

 BufferedImage image = ImageIO.read(new File("image.jpeg"));
            Graphics g =image.getGraphics();
            g.setFont(new Font("Futura", Font.PLAIN, 45));
            g.drawString("Hello", 100, 440);

            ImageIO.write(image, "png", new File("test.png"));
Will Jamieson
  • 918
  • 1
  • 16
  • 32

1 Answers1

1

Maybe this can help :)

new font type in java

and this one: How to use Open Type Fonts in Java?

Follow links on 1st link

Community
  • 1
  • 1
Frakcool
  • 10,915
  • 9
  • 50
  • 89