ovidiu@net-community.com
)The font class
Copyright: (C) 1996 Free Software Foundation, Inc.
The NSFont class allows control of the fonts used for displaying text anywhere on the screen. The primary methods for getting a particular font are +fontWithName:matrix: and +fontWithName:size: which take the name and size of a particular font and return the NSFont object associated with that font. In addition there are several convenience mathods which make it easier to get certain types of fonts.
In particular, there are several methods to get the standard fonts used by the Application to display text for a partiuclar purpose. See the class methods listed below for more information. These default fonts can be set using the user defaults system. The default font names available are:
The default sizes are:
Font sizes list with (none) default to NSFontSize.
- Declared in:
- AppKit/NSFont.h
- Conforms to:
- NSCoding
- NSCopying
Standards:
- MacOS-X
- OpenStep
- GNUstep
Description forthcoming.
Return the default bold font for use in menus and
heading in standard gui components.
This is
deprecated in MacOSX
Description forthcoming.
Returns an autoreleased font with name
aFontName and matrix fontMatrix
.
The fontMatrix is a standard size
element matrix as used in PostScript to describe
the scaling of the font, typically it just includes the
font size as [fontSize 0 0 fontSize 0 0]. You can use
the constant NSFontIdentityMatrix in place of [1 0 0 1
0 0]. If NSFontIdentityMatrix, then the font will
automatically flip itself when set in a
flipped view.
Returns an autoreleased font with name
aFontName and size fontSize.
Fonts created using this method will
automatically flip themselves when set in a
flipped view.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Return an array of the names of preferred fonts.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Return the default font for use in menus and heading
in standard gui components.
This is deprecated in
MacOSX
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Return the default fixed pitch font for use in locations other than standard gui components.
Return the default font for use in locations other than standard gui components.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Sets the receiver as the font used for text drawing operations. If the current view is a flipped view, the reciever automatically flips itself to display correctly in the flipped view, as long as the font was created without explicitly setting the font matrix
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
- Declared in:
- AppKit/NSFont.h
Standards:
- MacOS-X
- NotOpenStep
- GNUstep
Description forthcoming.
Method summaryDescription forthcoming.
Description forthcoming.