PRB: Incorrect Font Appearance in Windows 3.0

Last reviewed: April 29, 1996
Article ID: Q99090
The information in this article applies to:
  • Microsoft FoxPro for Windows, version 2.5x, 2.6x

SYMPTOMS

GET objects created with the MS Sans Serif font that comes with Microsoft Windows operating system version 3.1 may not have the same spacing and appearance when the same code is run with Windows version 3.0.

CAUSE

The MS Sans Serif font is not available in Windows 3.0. Therefore, a bitmapped font is used as the MS Sans Serif replacement. As a result, for example, edit regions can overflow into push buttons on the screen.

NOTE: This problem is noticeable when RQBE is used to send output to a graph. The GraphWizard uses a sans serif font.

RESOLUTION

To work around this problem in Windows 3.0, rearrange the fonts in the [Fonts] section of the WIN.INI file so that the font you want Windows 3.0 to use instead of MS Sans Serif (for example, Helvetica) is the first font in the section.

NOTE: This is not a problem in Visual FoxPro for Windows because it requires Windows version 3.1 or later.


Additional reference words: FoxWin 2.50 2.50a 2.50b 2.60 2.60a GET READ
FONT WIN3.0 RQBE
KBCategory: kbtool kbprg kbprb
KBSubcategory: FxtoolRqbe


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 29, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.