Carbon


Determining QuickDraw Text Attributes

Header: Gestalt.h

enum {
    gestaltQDTextFeatures = 'qdtf',
    gestaltWSIISupport = 0,
    gestaltSbitFontSupport = 1,
    gestaltAntiAliasedTextAvailable = 2,
    gestaltOFA2available = 3,
    gestaltCreatesAliasFontRsrc = 4,
    gestaltNativeType1FontSupport = 5
};

Constant descriptions

gestaltQDTextFeatures
gestaltWSIISupport

WSII support is included.

gestaltSbitFontSupport

sbit-only fonts are supported.

gestaltAntiAliasedTextAvailable

Capable of antialiased text.

gestaltOFA2available

OFA2 is available.

gestaltCreatesAliasFontRsrc
gestaltNativeType1FontSupport

Before calling any function dependent upon QuickDraw Text, your application should pass the selector gestaltQDTextFeatures to the Gestalt function to determine the QuickDraw Text attributes that are present.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)