File:  [NeXTSTEP 3.3 examples] / Examples / AppKit / BusyBox / English.lproj / HelpFiles / Font Menu.rtf
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:48:29 2018 UTC (8 years, 1 month ago) by root
Branches: NeXT, MAIN
CVS tags: NeXTSTEP33, HEAD
Sample Programs from NeXSTEP 3.3

{\rtf0\ansi{\fonttbl\f2\fswiss Helvetica;\f1\fmodern Courier;}
\paperw11780
\paperh9540
\margl120
\margr120
{\colortbl\red0\green0\blue0;}
\pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f2\b0\i0\ul0\fs36\fc0 The Font Menu
\b\fs28 \

\b0\fs24 \
The Font menu has commands that alter the font and other character attributes.  It's called �Font� rather than something like �character� or �style� because it's more evocative of what's in the menu, especially for users without a technical background.  
\pard\tx140\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600 Applications that support text entry and editing should provide a Font menu and Font panel.  The panel is defined in the Application Kit; it contains controls that set and preview fonts.  The menu has a command to bring up the panel, and commands to make common adjustments to a font.\

\pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\fc0 \
The only required commands in this menu are Font Panel, Copy Font, and Paste Font, although frequently used commands like Bold and Italic should almost always be present.  Applications that are not text intensive may decide to omit some of the less frequently used commands, such as Heavier and Lighter.\
\

\pard\tx1460\tx2420\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\b\fi-1460\li1460 Command 	Action
\b0 \
Font Panel...  Brings up the Font panel and makes it the key window.\
\
Bold	Makes the current selection bold, if it's not bold already, and makes it unbold if it is.  The name of the command alternates between �Bold� and �Unbold� depending on the selection.\
\
Italic	Makes the current selection italic or �oblique,� if it isn't already, and makes it unitalic if it is.  The name of the command alternates between �Italic� and �Unitalic� depending on the selection.\
\
Larger	Makes the current selection one point larger.\
\
Smaller	Makes the current selection one point smaller.\
\
Heavier	Uses a heavier typeface to display the current selection.\
\
Lighter	Uses a lighter typeface to display the current selection.\
\
Superscript	Superscripts the current selection.\
\
Subscript	Subscripts the current selection.\
\
Unscript	Removes superscript or subscript properties of current selection, returns to baseline.\
\
Copy Font	Copies the font attributes of the current selection, including font family, font size, bold, italic, underlining, superscript, and subscript.\
\
Paste Font	Paste the font attributes stored in the pasteboard by applying the attributes to the current selection.
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.