DD Tournament Poker
Locating and Removing Corrupt Fonts

Background
Corrupt Windows font files will cause some programs to error or crash. Sun Micro Systems Java is one of those programs, we have no control over problems with their software. Since we use Java, people with corrupt fonts will have to remove them from their system before they can use our software. Any Windows system can have font problems, by installing programs with corrupt fonts or downloading corrupt fonts from the internet. But older systems like Windows 98 are more susceptible (especially those upgraded from Windows 3.1 or Windows 95).

Your DD Tournament Poker will fail with corrupt fonts on your system. Typically it fails just after the initial extract phase - you never get to Step 2 - the green splash screen (as explained here). In a rarer case, failure happens when you click next at Step 5 (choose shortcut folder).

Determining Bad Fonts
If you found a log file named like hs_err_pidNNNN.log in your installation directory as explained here, then you may want to look at it with Notepad. If there is an error in the hs_err_pidNNNN.log file that has the line "Current Java thread: at sun.awt.font.NativeFontWrapper.registerFonts(Native Method)" then you have bad fonts on your system.

We have three methods to choose from for locating and removing your corrupt fonts.

 

Method

Method 1 uses a program called Font Agent from Insidersoftware.com to easily find your corrupt fonts. Insider has a free downloadable demo called Font Agent that will identify your corrupt fonts. Download the full version of Font Agent, it works as a demo until you unlock it. You can then manually delete those fonts, or purchase the full version to manage and repair your fonts.

Run Font Agent, click Demo, Next, "Check for corrupt fonts only", Next, Add, choose My Computer, C:, Windows, Fonts. OK, Next, Start. Write down any bad fonts, you can manually delete them in your font directory c:\windows\fonts. You may need to change your view settings to "Show all files"

 

Method

 

Method 2 uses a small java program to identify your corrupt fonts.

  • If you have NOT completed installation:
    You will need to download two font test files to your installation directory as explained here.

The windows directory you need to put these two files in will be:
c:\windows\temp\I1234567890\windows for Windows 98 and Me.
c:\Documents and Settings\Your Name\Local Settings\Temp\I1234567890 for XP,2000.

Note the number after the I1234567890 directory will have different numbers and you should use the one with the most current date. Also, "Your Name" will be the name of the current user that you are logged in as.

Save fonttest.bat and FontTest.class to the directory shown above. (right click on the links and choose "Save Target As..." and navigate to the Windows directory).

If you have completed installation:
Sometimes this problem occurs after installation, when running DD Tournament Poker itself.
Save fonttest2.bat and FontTest.class to the DD Tournament Poker installation directory (default is C:\Program Files\ddpoker) (right click on the links and choose "Save Target As..." and navigate to the ddpoker directory).

  • From Windows Explorer, double click on fonttest.bat. This will launch a black DOS window which attempts to launch a simple Java application. As Java processes the fonts on your system, it lists them. This application should crash just like the installer - the last font listed before the error message is usually the bad font (see example below). You can delete it or move it from C:\Windows\Fonts and run fonttest.bat again until you get a window that says "Java Launched Successfully". At that point, you should be able to successfully run the DD Poker installer.

 

  • If you are using Windows 98, you will need to right click on the fonttest.bat file, choose screen, Initial Size, and choose 50 lines. Also, the Windows 98 test does not scroll up like Windows XP, you will need to hit the "pasue" key on the keyboard half way through running it to see the end of the list of fonts shown in the example below, to resume press the space bar. An alternative pause method is clicking the "Mark" button at the top of the DOS window, you can then highlight the screen and click the copy button at the top and paste the selection into an email to send to us. You may need to run fonttest.bat several times in order to pause it at just the right time. Each time you run it, you will notice a hs_err_pidNNNN.log file appear everytime your run it in the same directory, this confirms you still have a corrupt font.

NOTE: Previous customers who ran into this problem found a problem with the following fonts (if you find a problem font, send it to us so we can list it here):

  • lsansi.ttf
  • bddenver.ttf
  • bdenver.ttf
  • bdspring.ttf
  • signatur.ttf
  • amazonn_.ttf
 

Font Test Sample Output:

When you run fonttest.bat you will see output like this (you may need to scroll up in the window for Windows XP, or Pause for Windows Me and 98 to find the right line). The last font listed before the "An unexpected exception" line is the bad one . In this example, you would delete c:\windows\fonts\badfont.ttf Note: Your corrupt font will have a unique name, badfont.ttf in the picture below is just an example. After deleting the one bad font, re-run fonttest until you don't get an error.

Method

 

 

Method 3 is another alternative method of eliminating some corrupt fonts. This method should only be used by people with PC experience.

If you have anything you should backup before continuing, now is the time to do it. You are going to copy all the fonts from the font directory to a temporary one, delete all the fonts from DOS, then re-copy them back. There are two risks, one is rebooting your computer before you copy back the fonts to the original Fonts folder, if you reboot with the fonts folder empty, windows may not restart. Windows should prevent this by not allowing your to delete the fonts it's currently using. The other is deleting all your windows files if you were not in the correct directory.

  • Create a temporary folder to hold the fonts:
    Right click on the desktop, NEW, FOLDER
    Rename the folder to TEMPORARY
  • Open Fonts folder:
    Double click MY COMPUTER, choose c:, Windows, you may need to click SHOW FILES, then choose the FONTS folder
  • Copy fonts to temporary folder:
    From open fonts folder, click EDIT, SELECT ALL, click, OK if asked, click EDIT, click COPY
    Go to the TEMPORARY folder you created earlier, click EDIT, click PASTE
  • Delete everything in the Fonts folder:
    Start a DOS window, Click START, Programs, MSDOS Prompt.
    Type the following: cd c:\windows\fonts
    It should say c:\windows\fonts at the bottom (It should NOT say c:\windows)
    ONLY if it says c:\windows\fonts at the bottom, Type: del *.* then enter
    Exit DOS
  • Copy fonts back to fonts folder:
    Go to the TEMPORARY folder.
    Click EDIT, SELECT ALL, EDIT, COPY
    Go to fonts folder (that's c:\windows\fonts) click EDIT, PASTE
    If it asks you if you want to overwrite any files click NO for each one.