NSFont Class Reference
PDF
Overview
Adopted Protocols
Tasks
Creating Arbitrary Fonts
Creating User Fonts
Creating System Fonts
Using a Font to Draw
Getting General Font Information
Getting Information About Glyphs
Getting Metrics Information
Getting Font Names
Setting User Fonts
Getting Corresponding Device Fonts
Deprecated Methods
Class Methods
boldSystemFontOfSize:
controlContentFontOfSize:
fontWithDescriptor:size:
fontWithDescriptor:textTransform:
fontWithName:matrix:
fontWithName:size:
labelFontOfSize:
labelFontSize
menuBarFontOfSize:
menuFontOfSize:
messageFontOfSize:
paletteFontOfSize:
setUserFixedPitchFont:
setUserFont:
smallSystemFontSize
systemFontOfSize:
systemFontSize
systemFontSizeForControlSize:
titleBarFontOfSize:
toolTipsFontOfSize:
userFixedPitchFontOfSize:
userFontOfSize:
Instance Methods
advancementForGlyph:
ascender
boundingRectForFont
boundingRectForGlyph:
capHeight
coveredCharacterSet
descender
displayName
familyName
fontDescriptor
fontName
getAdvancements:forGlyphs:count:
getAdvancements:forPackedGlyphs:length:
getBoundingRects:forGlyphs:count:
glyphWithName:
isFixedPitch
italicAngle
leading
matrix
maximumAdvancement
mostCompatibleStringEncoding
numberOfGlyphs
pointSize
printerFont
renderingMode
screenFont
screenFontWithRenderingMode:
set
setInContext:
textTransform
underlinePosition
underlineThickness
xHeight
Constants
NSFontRenderingMode
PostScript Transformation Matrix
NSMultibyteGlyphPacking
Reserved Glyph Codes
Keys to the AFM Dictionary
NSGlyph
NSGlyphRelation
NSMultibyteGlyphPacking
Notifications
NSAntialiasThresholdChangedNotification
NSFontSetChangedNotification
Appendix A: Deprecated NSFont Methods
Deprecated in Mac OS X v10.4
preferredFontNames
setPreferredFontNames:
useFont:
afmDictionary
defaultLineHeightForFont
encodingScheme
glyphIsEncoded:
glyphPacking
isBaseFont
positionOfGlyph:forCharacter:struckOverRect:
positionOfGlyph:precededByGlyph:isNominal:
positionOfGlyph:struckOverGlyph:metricsExist:
positionOfGlyph:struckOverRect:metricsExist:
positionOfGlyph:withRelation:toBaseGlyph:totalAdvancement:metricsExist:
positionsForCompositeSequence:numberOfGlyphs:pointArray:
widthOfString:
Revision History
Index
Companion Guide
Font Handling