Carbon


FNSSysInfo

Header: FontSync.h

Contains FontSync version and feature information.

struct FNSSysInfo {
    FNSObjectVersion iSysInfoVersion; 
    FNSFeatureFlags oFeatures; 
    FNSObjectVersion oCurRefVersion; 
    FNSObjectVersion oMinRefVersion; 
    FNSObjectVersion oCurProfileVersion; 
    FNSObjectVersion oMinProfileVersion; 
    UInt16 oFontSyncVersion;
};

Field descriptions

iSysInfoVersion

On input, the version of this parameter block structure. In FontSync 1.0, the version number of this structure is 1. Pass the constant kFNSCurSysInfoVersion, described in “Version Constants”. For more information, see the discussion.

oFeatures

On output, the FontSync features that are available. In FontSync 1.0, no feature flags are defined.

oCurRefVersion

On output, the current font reference format version supported by the FontSync library.

oMinRefVersion

On output, the oldest font reference format version supported by the FontSync library.

oCurProfileVersion

On output, the current font profile format version supported by the FontSync library.

oMinProfileVersion

On output, the oldest font profile format version supported by the FontSync library.

oFontSyncVersion

On output, a binary-coded decimal value indicating the version of FontSync currently running. The high-order 8 bits give the major version, the next four give the minor version, and the last four give the revision. For example, version 1.0 would be encoded as 0x0100.

Before calling the function FNSSysInfoGet, you should fill in the iSysInfoVersion field of this structure with the version of this structure. Pass the constant kFNSCurSysInfoVersion, described in “Version Constants”, to represent the current version. FNSSysInfoGet fills in the remaining fields and passes back the structure in the ioInfo parameter. The information it provides includes the version of FontSync running in the current context and available features, as well as the current and oldest font reference and profile format versions supported by the FontSync library.

New fields may be added to the end of the structure in future versions of FontSync. FontSync uses the iSysInfoVersion field to determine which version of the structure you are using. The value of the current version constant kFNSCurSysInfoVersion will change accordingly.

VERSION NOTES

Available beginning with FontSync 1.0. In FontSync 1.0, the value of the iSysInfoVersion field is 1. The value of the oFeatures field is 0, since no feature flags are defined.


© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)