SetPreserveGlyph
SetPreserveGlyph Set whether to preserve outline glyph shape
#include <Fonts.h> Font Manager
void SetPreserveGlyph(preserveGlyph );
Boolean preserveGlyph ;TRUE= the measurements of all glyphs are
p reserved, and your application may have to alter
the leading between lines in a document if some of
these glyphs extend beyond the ascent or descent
lines.
FALSE = all glyphs are scaled to fit between the
ascent and descent lines.
The SetPreserveGlyph procedure tells the Font Manager whether to
preserve the original shape of an outline glyph, which in some cases may
exceed the ascent or descent lines.
The default behavior for the Font Manager is to scale a glyph so that it fits
between the ascent and descent lines; however, this alters the look of the glyph.
If you set the preserveGlyph parameter in the SetPreserveGlyph procedure
to TRUE, the measurements of all glyphs are p reserved, and your application
may have to alter the leading between lines in a document if some of these
glyphs extend beyond the ascent or descent lines. If you set preserveGlyph to
FALSE, all glyphs are scaled to fit between the ascent and descent lines.
Save the setting of whether glyphs are preserved or not and call
SetPreserveGlyph with this value as the parameter every time the user
opens the application.
Returns: none