jvs:cigal:manual:chapter2:font
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
jvs:cigal:manual:chapter2:font [2013/07/11 17:15] – voyvodic | jvs:cigal:manual:chapter2:font [2024/06/21 15:44] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
**CIGAL Reference Manual, Chapter 2 (Commands): font** | **CIGAL Reference Manual, Chapter 2 (Commands): font** | ||
===== Font -- Load a character font ===== | ===== Font -- Load a character font ===== | ||
- | ** usage: font fontname size flag**\\ | + | **usage:**\\ |
- | ** or: font fontnum | + | * **font fontname size flag**\\ |
- | ** or: font**\\ | + | * **font fontnum |
- | ** or: font -9 fontheight | + | * **font**\\ |
+ | * **font -9 [defaultfont alertfont fontheight | ||
+ | |||
+ | The FONT command allows you to change or set text fonts. | ||
+ | |||
+ | The standard use of the FONT command is to load the current user font, and/or to select which font should be used for a particular display window. Currently CIGAL supports 1 user-specified font, in addition to however many system hard fonts your system provides. Once specified, the user font can be selected as system font 0. | ||
+ | |||
+ | The 3 ways to specify a font are: | ||
+ | font ; this opens an interactive dialog for selecting the font | ||
+ | font fontname size flag ; the fontname and size must be valid for your computer | ||
+ | font fontnum [windownum] | ||
+ | |||
+ | With no arguments, the FONT command will open an interactive dialog window to allow you to select from all available software fonts. To specify a font by name, the fontname must be a name that is recognized as a valid font on your system. Using FONT with no arguments can be helpful to view which font names are available. | ||
+ | |||
+ | When you specify the user font by name or via an interactive dialog it is automatically assigned as the current text font. | ||
+ | |||
+ | You can also specify the current text font by font number. Font 0 is the current user-specified font, and font numbers greater than 0 refer to your computer system' | ||
+ | showfonts | ||
+ | |||
+ | The "FONT -9" command is a special case. With no other arguments it will display the that can be used to view or current default font parameters. | ||
**See Also:**\\ | **See Also:**\\ |
jvs/cigal/manual/chapter2/font.txt · Last modified: 2024/06/21 15:44 by 127.0.0.1