NSFont
Authors
- Ovidiu Predescu(
ovidiu@net-community.com
)
-
The font class
Copyright: (C) 1996 Free Software Foundation, Inc.
Software documentation for the NSFont class
Declared: AppKit/NSFont.h
Conform: NSCoding
Conform: NSCopying
boldSystemFontOfSize:
+ (NSFont*) boldSystemFontOfSize: (float)fontSize;
controlContentFontOfSize:
+ (NSFont*) controlContentFontOfSize: (float)fontSize;
fontWithName:matrix:
+ (NSFont*) fontWithName: (NSString*)name matrix: (const float*)fontMatrix;
fontWithName:size:
+ (NSFont*) fontWithName: (NSString*)name size: (float)fontSize;
labelFontOfSize:
+ (NSFont*) labelFontOfSize: (float)fontSize;
labelFontSize
+ (float) labelFontSize;
menuFontOfSize:
+ (NSFont*) menuFontOfSize: (float)fontSize;
messageFontOfSize:
+ (NSFont*) messageFontOfSize: (float)fontSize;
paletteFontOfSize:
+ (NSFont*) paletteFontOfSize: (float)fontSize;
preferredFontNames
+ (NSArray*) preferredFontNames;
setPreferredFontNames:
+ (void) setPreferredFontNames: (NSArray*)fontNames;
setUserFixedPitchFont:
+ (void) setUserFixedPitchFont: (NSFont*)font;
setUserFont:
+ (void) setUserFont: (NSFont*)font;
smallSystemFontSize
+ (float) smallSystemFontSize;
systemFontOfSize:
+ (NSFont*) systemFontOfSize: (float)fontSize;
systemFontSize
+ (float) systemFontSize;
titleBarFontOfSize:
+ (NSFont*) titleBarFontOfSize: (float)fontSize;
toolTipsFontOfSize:
+ (NSFont*) toolTipsFontOfSize: (float)fontSize;
useFont:
+ (void) useFont: (NSString*)name;
userFixedPitchFontOfSize:
+ (NSFont*) userFixedPitchFontOfSize: (float)fontSize;
userFontOfSize:
+ (NSFont*) userFontOfSize: (float)fontSize;
advancementForGlyph:
- (NSSize) advancementForGlyph: (NSGlyph)aGlyph;
afmDictionary
- (NSDictionary*) afmDictionary;
afmFileContents
- (NSString*) afmFileContents;
ascender
- (float) ascender;
boundingRectForFont
- (NSRect) boundingRectForFont;
boundingRectForGlyph:
- (NSRect) boundingRectForGlyph: (NSGlyph)aGlyph;
capHeight
- (float) capHeight;
defaultLineHeightForFont
- (float) defaultLineHeightForFont;
descender
- (float) descender;
displayName
- (NSString*) displayName;
encodingScheme
- (NSString*) encodingScheme;
familyName
- (NSString*) familyName;
fontName
- (NSString*) fontName;
glyphIsEncoded:
- (BOOL) glyphIsEncoded: (NSGlyph)aGlyph;
glyphPacking
- (NSMultibyteGlyphPacking) glyphPacking;
glyphWithName:
- (NSGlyph) glyphWithName: (NSString*)glyphName;
isBaseFont
- (BOOL) isBaseFont;
isFixedPitch
- (BOOL) isFixedPitch;
italicAngle
- (float) italicAngle;
matrix
- (const float*) matrix;
maximumAdvancement
- (NSSize) maximumAdvancement;
minimumAdvancement
- (NSSize) minimumAdvancement;
mostCompatibleStringEncoding
- (NSStringEncoding) mostCompatibleStringEncoding;
pointSize
- (float) pointSize;
positionOfGlyph:forCharacter:struckOverRect:
- (NSPoint) positionOfGlyph: (NSGlyph)aGlyph forCharacter: (unichar)aChar struckOverRect: (NSRect)aRect;
positionOfGlyph:precededByGlyph:isNominal:
- (NSPoint) positionOfGlyph: (NSGlyph)curGlyph precededByGlyph: (NSGlyph)prevGlyph isNominal: (BOOL*)nominal;
positionOfGlyph:struckOverGlyph:metricsExist:
- (NSPoint) positionOfGlyph: (NSGlyph)aGlyph struckOverGlyph: (NSGlyph)baseGlyph metricsExist: (BOOL*)flag;
positionOfGlyph:struckOverRect:metricsExist:
- (NSPoint) positionOfGlyph: (NSGlyph)aGlyph struckOverRect: (NSRect)aRect metricsExist: (BOOL*)flag;
positionOfGlyph:withRelation:toBaseGlyph:totalAdvancement:metricsExist:
- (NSPoint) positionOfGlyph: (NSGlyph)aGlyph withRelation: (NSGlyphRelation)relation toBaseGlyph: (NSGlyph)baseGlyph totalAdvancement: (NSSize*)offset metricsExist: (BOOL*)flag;
positionsForCompositeSequence:numberOfGlyphs:pointArray:
- (int) positionsForCompositeSequence: (NSGlyph*)glyphs numberOfGlyphs: (int)numGlyphs pointArray: (NSPoint*)points;
printerFont
- (NSFont*) printerFont;
screenFont
- (NSFont*) screenFont;
set
- (void) set;
underlinePosition
- (float) underlinePosition;
underlineThickness
- (float) underlineThickness;
widthOfString:
- (float) widthOfString: (NSString*)string;
xHeight
- (float) xHeight;
Software documentation for the NSFont(GNUstep)
category
Declared: AppKit/NSFont.h
fontInfo
- (GSFontInfo*) fontInfo;