Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Java in General and the fly likes Adding a new font to windows. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Adding a new font to windows." Watch "Adding a new font to windows." New topic

Adding a new font to windows.

Scott Matthews
Ranch Hand

Joined: Jun 28, 2001
Posts: 36
First, this is an issue with Windows that I am trying to find a work around for:
I have my users install my Java application using Installshield. During the installation process, I copy new font files to the \windows\fonts or \winnt\fonts area depending on whether they are using Windows 98 or WinNT/2000.
These font files are copied here just fine, but they are not seen by my application (or any other windows application) unless I go into the Control Panel and click on the Fonts folder. Then the fonts get refreshed and my application can see them.
Has anyone run across this. I am trying to not have the user go into the Control panel if I can help it.
Thanks for your time.
I agree. Here's the link:
subject: Adding a new font to windows.
Similar Threads
adding new fonts (jdk1.1.8) file (jdk1.1.8)
New Fonts in Java Runtime
Fonts in MS Windows
Accepting the arabic character from keyboard in swing application !!