diff options
author | Russ Cox <rsc@swtch.com> | 2015-02-17 15:36:25 -0500 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2015-02-17 20:53:15 +0000 |
commit | b3a110affa33f0a3c96e06438047913f2db90c91 (patch) | |
tree | 3958d06c75102894c580d75a325c2fc84001ac5c /man/man3 | |
parent | 4eac378eba7b7376621bfb57bb282957ef714628 (diff) | |
download | plan9port-b3a110affa33f0a3c96e06438047913f2db90c91.tar.gz plan9port-b3a110affa33f0a3c96e06438047913f2db90c91.tar.bz2 plan9port-b3a110affa33f0a3c96e06438047913f2db90c91.zip |
man: document font syntaxes
Change-Id: Id441d4df192c47388af6b5da306f14d90f066d18
Reviewed-on: https://plan9port-review.googlesource.com/1173
Reviewed-by: Russ Cox <rsc@swtch.com>
Diffstat (limited to 'man/man3')
-rw-r--r-- | man/man3/graphics.3 | 31 |
1 files changed, 9 insertions, 22 deletions
diff --git a/man/man3/graphics.3 b/man/man3/graphics.3 index 43214f1f..a2b2d848 100644 --- a/man/man3/graphics.3 +++ b/man/man3/graphics.3 @@ -228,30 +228,14 @@ pointer that can be used by to draw characters from the font. .I Openfont does the same, but reads the description -from the named file. +from the named font. .I Freefont frees a font. -The convention for naming font files is: -.IP -.B /lib/font/bit/\fIname\fP/\fIrange\fP.\fIsize\fP.font -.PD -.PP -where -.I size -is approximately the height in pixels of the lower case letters -(without ascenders or descenders). -.I Range -gives some indication of which characters will be available: for example -.BR ascii , -.BR latin1 , -.BR euro , -or -.BR unicode . -.B Euro -includes most European languages, punctuation marks, the International Phonetic -Alphabet, etc., but no Oriental languages. -.B Unicode -includes every character for which appropriate-sized images exist on the system. +In contrast to Plan 9, font names in Plan 9 from User Space are +a small language describing the desired font. +See +.IR font (7) +for details. .PP A .I Cursor @@ -319,6 +303,9 @@ if .B $font is not set, it imports the default (usually minimal) font from the operating system. +(See +.IR font (7) +for a full discussion of font syntaxes.) The global .I font will be set to point to the resulting |