Any suggestions on how to get fonts from an external drive rather than on my local drive. Here is what I use now:

GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
		 Font[] fonts = ge.getAllFonts(); // Get the fonts
		 for (Font f : fonts) {
			 System.out.println(f.getFontName());
		 }
FileInputStream fis = new FileInputStream("d:/fonts/lucida.ttf");
Font lucida = Font.createFont(Font.TRUETYPE_FONT, fis);
fis.close();
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.