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 / Disabling Font Scaling


SetFScaleDisable

The SetFScaleDisable procedure enables or disables the computation of font scaling factors by the Font Manager for bitmapped glyphs.

PROCEDURE SetFScaleDisable (fontScaleDisable: Boolean);
fontScaleDisable
Specifies whether bitmapped fonts are to be scaled. A value of TRUE indicates that font scaling is disabled; a value of FALSE indicates that font scaling is enabled.
DESCRIPTION
The SetFScaleDisable procedure establishes whether or not the Font Manager computes font scaling factors for bitmapped fonts. If you set the fontScaleDisable parameter to TRUE, the Font Manager disables font scaling, which means it responds to a request for a font size that is not available by computing font scaling factors of 1/1 and returning a smaller, unscaled bitmapped font with the widths of the requested size. If you set the fontScaleDisable parameter to FALSE, the Font Manager computes scaling factors for bitmapped fonts.

QuickDraw performs the actual scaling of glyph bitmaps for bitmapped fonts by using the font scaling factors computed and returned by the Font Manager.

As a default, the Font Manager scales fonts to ensure compatibility with existing applications.

ASSEMBLY-LANGUAGE INFORMATION
The trap macro for the SetFScaleDisable procedure is
Trap macro
_SetFScaleDisable


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996