Skip to main content

A font is not found even if it is installed in Windows

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

A text in your application appears differently once executed on another machine or a font routine fails to use a font that is installed in Windows.

Resolution:

It is possible that the selected font is not a True Type one, and Windows is set to use ONLY True Type fonts. Since Courier for example is not a True Type font, a routine such as PC_PRINTER_SET_FONT would fail with return code 13. Not only this Cobol routine cannot use it, but all applications in Windows.

Here are the steps to turn off this setting in Windows:

1. Go to Control Panel

2. Open Fonts

3. Click on Folder Options from the Tools menu

4. Click on the True Type Fonts tab

5. Uncheck the only option in there, which is "Show only True Type fonts in the program on my computer"

6. Click on the Apply button

7. Click on the OK button, and you will be prompted to restart the machine

8. Restart Windows (after saving your work)

Old KB# 5274

0 replies

Be the first to reply!