Mac OS 9
GXFonts.h File Reference

QuickDraw GX font routine interfaces. More...

#include <ConditionalMacros.h>
#include <GXMath.h>
#include <GXTypes.h>
#include <ScalerStreamTypes.h>

Go to the source code of this file.

Functions

gxFont GXNewFont (gxFontStorageTag storage, gxFontStorageReference reference, gxFontAttribute attributes)
 
gxFontStorageTag GXGetFont (gxFont fontID, gxFontStorageReference *reference, gxFontAttribute *attributes)
 
gxFont GXFindFont (gxFontStorageTag storage, gxFontStorageReference reference, gxFontAttribute *attributes)
 
void GXSetFont (gxFont fontID, gxFontStorageTag storage, gxFontStorageReference reference, gxFontAttribute attributes)
 
void GXDisposeFont (gxFont fontID)
 
void GXChangedFont (gxFont fontID)
 
gxFontFormatTag GXGetFontFormat (gxFont fontID)
 
gxFont GXGetDefaultFont (void)
 
gxFont GXSetDefaultFont (gxFont fontID)
 
long GXFindFonts (gxFont familyID, gxFontName name, gxFontPlatform platform, gxFontScript script, gxFontLanguage language, long length, const unsigned char text[], long index, long count, gxFont fonts[])
 
long GXCountFontGlyphs (gxFont fontID)
 
long GXCountFontTables (gxFont fontID)
 
long GXGetFontTable (gxFont fontID, long index, void *tableData, gxFontTableTag *tableTag)
 
long GXFindFontTable (gxFont fontID, gxFontTableTag tableTag, void *tableData, long *index)
 
long GXGetFontTableParts (gxFont fontID, long index, long offset, long length, void *tableData, gxFontTableTag *tableTag)
 
long GXFindFontTableParts (gxFont fontID, gxFontTableTag tableTag, long offset, long length, void *tableData, long *index)
 
long GXSetFontTable (gxFont fontID, long index, gxFontTableTag tableTag, long length, const void *tableData)
 
long GXSetFontTableParts (gxFont fontID, long index, gxFontTableTag tableTag, long offset, long oldLength, long newLength, const void *tableData)
 
long GXDeleteFontTable (gxFont fontID, long index, gxFontTableTag tableTag)
 
long GXCountFontNames (gxFont fontID)
 
long GXGetFontName (gxFont fontID, long index, gxFontName *name, gxFontPlatform *platform, gxFontScript *script, gxFontLanguage *language, unsigned char text[])
 
long GXFindFontName (gxFont fontID, gxFontName name, gxFontPlatform platform, gxFontScript script, gxFontLanguage language, unsigned char text[], long *index)
 
long GXSetFontName (gxFont fontID, gxFontName name, gxFontPlatform platform, gxFontScript script, gxFontLanguage language, long length, const unsigned char text[])
 
long GXDeleteFontName (gxFont fontID, long index, gxFontName name, gxFontPlatform platform, gxFontScript script, gxFontLanguage language)
 
gxFontName GXNewFontNameID (gxFont fontID)
 
long GXCountFontEncodings (gxFont fontID)
 
gxFontPlatform GXGetFontEncoding (gxFont fontID, long index, gxFontScript *script, gxFontLanguage *language)
 
long GXFindFontEncoding (gxFont fontID, gxFontPlatform platform, gxFontScript script, gxFontLanguage language)
 
long GXApplyFontEncoding (gxFont fontID, long index, long *length, const unsigned char text[], long count, unsigned short glyphs[], char was16Bit[])
 
long GXCountFontVariations (gxFont fontID)
 
long GXFindFontVariation (gxFont fontID, gxFontVariationTag variationTag, Fixed *minValue, Fixed *defaultValue, Fixed *maxValue, gxFontName *name)
 
gxFontVariationTag GXGetFontVariation (gxFont fontID, long index, Fixed *minValue, Fixed *defaultValue, Fixed *maxValue, gxFontName *name)
 
long GXCountFontInstances (gxFont fontID)
 
gxFontName GXGetFontInstance (gxFont fontID, long index, gxFontVariation variation[])
 
long GXSetFontInstance (gxFont fontID, long index, gxFontName name, const gxFontVariation variation[])
 
long GXDeleteFontInstance (gxFont fontID, long index, gxFontName name)
 
long GXCountFontDescriptors (gxFont fontID)
 
gxFontDescriptorTag GXGetFontDescriptor (gxFont fontID, long index, Fixed *descriptorValue)
 
long GXFindFontDescriptor (gxFont fontID, gxFontDescriptorTag descriptorTag, Fixed *descriptorValue)
 
long GXSetFontDescriptor (gxFont fontID, long index, gxFontDescriptorTag descriptorTag, Fixed descriptorValue)
 
long GXDeleteFontDescriptor (gxFont fontID, long index, gxFontDescriptorTag descriptorTag)
 
long GXCountFontFeatures (gxFont fontID)
 
gxFontName GXGetFontFeature (gxFont fontID, long index, gxFontFeatureFlag *flags, long *settingCount, gxFontFeatureSetting settings[], gxFontFeature *feature)
 
gxFontName GXFindFontFeature (gxFont fontID, gxFontFeature feature, gxFontFeatureFlag *flags, long *settingCount, gxFontFeatureSetting settings[], long *index)
 
long GXGetFontDefaultFeatures (gxFont fontID, gxRunFeature features[])
 
void GXFlattenFont (gxFont source, scalerStream *stream, gxSpoolBlock *block)
 

Detailed Description

QuickDraw GX font routine interfaces.

Introduced In: Quickdraw GX 1.1
Avaliable From: Universal Interfaces 3.4.1
Copyright: © 1994-2001 by Apple Computer, Inc., all rights reserved.

For bug reports, consult the following page on the World Wide Web:

http://developer.apple.com/bugreporter/

Function Documentation

◆ GXApplyFontEncoding()

long GXApplyFontEncoding ( gxFont  fontID,
long  index,
long *  length,
const unsigned char  text[],
long  count,
unsigned short  glyphs[],
char  was16Bit[] 
)

GXApplyFontEncoding()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXChangedFont()

void GXChangedFont ( gxFont  fontID)

GXChangedFont()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXCountFontDescriptors()

long GXCountFontDescriptors ( gxFont  fontID)

GXCountFontDescriptors()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXCountFontEncodings()

long GXCountFontEncodings ( gxFont  fontID)

GXCountFontEncodings()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXCountFontFeatures()

long GXCountFontFeatures ( gxFont  fontID)

GXCountFontFeatures()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXCountFontGlyphs()

long GXCountFontGlyphs ( gxFont  fontID)

GXCountFontGlyphs()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXCountFontInstances()

long GXCountFontInstances ( gxFont  fontID)

GXCountFontInstances()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXCountFontNames()

long GXCountFontNames ( gxFont  fontID)

GXCountFontNames()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXCountFontTables()

long GXCountFontTables ( gxFont  fontID)

GXCountFontTables()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXCountFontVariations()

long GXCountFontVariations ( gxFont  fontID)

GXCountFontVariations()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXDeleteFontDescriptor()

long GXDeleteFontDescriptor ( gxFont  fontID,
long  index,
gxFontDescriptorTag  descriptorTag 
)

GXDeleteFontDescriptor()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXDeleteFontInstance()

long GXDeleteFontInstance ( gxFont  fontID,
long  index,
gxFontName  name 
)

GXDeleteFontInstance()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXDeleteFontName()

long GXDeleteFontName ( gxFont  fontID,
long  index,
gxFontName  name,
gxFontPlatform  platform,
gxFontScript  script,
gxFontLanguage  language 
)

GXDeleteFontName()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXDeleteFontTable()

long GXDeleteFontTable ( gxFont  fontID,
long  index,
gxFontTableTag  tableTag 
)

GXDeleteFontTable()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXDisposeFont()

void GXDisposeFont ( gxFont  fontID)

GXDisposeFont()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXFindFont()

gxFont GXFindFont ( gxFontStorageTag  storage,
gxFontStorageReference  reference,
gxFontAttribute *  attributes 
)

GXFindFont()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXFindFontDescriptor()

long GXFindFontDescriptor ( gxFont  fontID,
gxFontDescriptorTag  descriptorTag,
Fixed descriptorValue 
)

GXFindFontDescriptor()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXFindFontEncoding()

long GXFindFontEncoding ( gxFont  fontID,
gxFontPlatform  platform,
gxFontScript  script,
gxFontLanguage  language 
)

GXFindFontEncoding()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXFindFontFeature()

gxFontName GXFindFontFeature ( gxFont  fontID,
gxFontFeature  feature,
gxFontFeatureFlag *  flags,
long *  settingCount,
gxFontFeatureSetting  settings[],
long *  index 
)

GXFindFontFeature()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXFindFontName()

long GXFindFontName ( gxFont  fontID,
gxFontName  name,
gxFontPlatform  platform,
gxFontScript  script,
gxFontLanguage  language,
unsigned char  text[],
long *  index 
)

GXFindFontName()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXFindFonts()

long GXFindFonts ( gxFont  familyID,
gxFontName  name,
gxFontPlatform  platform,
gxFontScript  script,
gxFontLanguage  language,
long  length,
const unsigned char  text[],
long  index,
long  count,
gxFont  fonts[] 
)

GXFindFonts()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXFindFontTable()

long GXFindFontTable ( gxFont  fontID,
gxFontTableTag  tableTag,
void *  tableData,
long *  index 
)

GXFindFontTable()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXFindFontTableParts()

long GXFindFontTableParts ( gxFont  fontID,
gxFontTableTag  tableTag,
long  offset,
long  length,
void *  tableData,
long *  index 
)

GXFindFontTableParts()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXFindFontVariation()

long GXFindFontVariation ( gxFont  fontID,
gxFontVariationTag  variationTag,
Fixed minValue,
Fixed defaultValue,
Fixed maxValue,
gxFontName *  name 
)

GXFindFontVariation()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXFlattenFont()

void GXFlattenFont ( gxFont  source,
scalerStream stream,
gxSpoolBlock block 
)

GXFlattenFont()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXGetDefaultFont()

gxFont GXGetDefaultFont ( void  )

GXGetDefaultFont()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXGetFont()

gxFontStorageTag GXGetFont ( gxFont  fontID,
gxFontStorageReference *  reference,
gxFontAttribute *  attributes 
)

GXGetFont()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXGetFontDefaultFeatures()

long GXGetFontDefaultFeatures ( gxFont  fontID,
gxRunFeature  features[] 
)

GXGetFontDefaultFeatures()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXGetFontDescriptor()

gxFontDescriptorTag GXGetFontDescriptor ( gxFont  fontID,
long  index,
Fixed descriptorValue 
)

GXGetFontDescriptor()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXGetFontEncoding()

gxFontPlatform GXGetFontEncoding ( gxFont  fontID,
long  index,
gxFontScript *  script,
gxFontLanguage *  language 
)

GXGetFontEncoding()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXGetFontFeature()

gxFontName GXGetFontFeature ( gxFont  fontID,
long  index,
gxFontFeatureFlag *  flags,
long *  settingCount,
gxFontFeatureSetting  settings[],
gxFontFeature *  feature 
)

GXGetFontFeature()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXGetFontFormat()

gxFontFormatTag GXGetFontFormat ( gxFont  fontID)

GXGetFontFormat()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXGetFontInstance()

gxFontName GXGetFontInstance ( gxFont  fontID,
long  index,
gxFontVariation  variation[] 
)

GXGetFontInstance()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXGetFontName()

long GXGetFontName ( gxFont  fontID,
long  index,
gxFontName *  name,
gxFontPlatform *  platform,
gxFontScript *  script,
gxFontLanguage *  language,
unsigned char  text[] 
)

GXGetFontName()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXGetFontTable()

long GXGetFontTable ( gxFont  fontID,
long  index,
void *  tableData,
gxFontTableTag *  tableTag 
)

GXGetFontTable()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXGetFontTableParts()

long GXGetFontTableParts ( gxFont  fontID,
long  index,
long  offset,
long  length,
void *  tableData,
gxFontTableTag *  tableTag 
)

GXGetFontTableParts()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXGetFontVariation()

gxFontVariationTag GXGetFontVariation ( gxFont  fontID,
long  index,
Fixed minValue,
Fixed defaultValue,
Fixed maxValue,
gxFontName *  name 
)

GXGetFontVariation()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXNewFont()

gxFont GXNewFont ( gxFontStorageTag  storage,
gxFontStorageReference  reference,
gxFontAttribute  attributes 
)

GXNewFont()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXNewFontNameID()

gxFontName GXNewFontNameID ( gxFont  fontID)

GXNewFontNameID()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXSetDefaultFont()

gxFont GXSetDefaultFont ( gxFont  fontID)

GXSetDefaultFont()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXSetFont()

void GXSetFont ( gxFont  fontID,
gxFontStorageTag  storage,
gxFontStorageReference  reference,
gxFontAttribute  attributes 
)

GXSetFont()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXSetFontDescriptor()

long GXSetFontDescriptor ( gxFont  fontID,
long  index,
gxFontDescriptorTag  descriptorTag,
Fixed  descriptorValue 
)

GXSetFontDescriptor()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXSetFontInstance()

long GXSetFontInstance ( gxFont  fontID,
long  index,
gxFontName  name,
const gxFontVariation  variation[] 
)

GXSetFontInstance()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXSetFontName()

long GXSetFontName ( gxFont  fontID,
gxFontName  name,
gxFontPlatform  platform,
gxFontScript  script,
gxFontLanguage  language,
long  length,
const unsigned char  text[] 
)

GXSetFontName()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXSetFontTable()

long GXSetFontTable ( gxFont  fontID,
long  index,
gxFontTableTag  tableTag,
long  length,
const void *  tableData 
)

GXSetFontTable()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ GXSetFontTableParts()

long GXSetFontTableParts ( gxFont  fontID,
long  index,
gxFontTableTag  tableTag,
long  offset,
long  oldLength,
long  newLength,
const void *  tableData 
)

GXSetFontTableParts()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available