Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Text /
Chapter 4 - Font Manager / Font Manager Reference
Routines / Enabling Fractional Glyph Widths


SetFractEnable

The SetFractEnable procedure enables or disables fractional glyph widths.

PROCEDURE SetFractEnable (fractEnable: Boolean);
fractEnable
Specifies whether fractional widths or integer widths are to be used to determine glyph measurements. A value of TRUE indicates fractional glyph widths; a value of FALSE indicates integer glyph widths.
DESCRIPTION
The SetFractEnable procedure establishes whether or not the Font Manager provides fractional glyph widths to QuickDraw, which then uses them for advancing the pen during text drawing. If you set the fractEnable parameter to TRUE, the Font Manager provides fractional glyph widths. If you set it to FALSE, the Font Manager provides integer glyph widths.

The SetFractEnable procedure assigns the value that you specify in the fractEnable parameter to the global variable FractEnable.

The Font Manager defaults to integer widths to ensure compatibility with existing applications.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996