diff options
author | kennykb <kennykb@noemail.net> | 2006-12-01 20:14:22 (GMT) |
---|---|---|
committer | kennykb <kennykb@noemail.net> | 2006-12-01 20:14:22 (GMT) |
commit | f79c55ff78a3655cd0828c7a8280e4c882d7b511 (patch) | |
tree | 489ea29c16233aae8944a6e2c553d6f40503fc20 /doc/font.n | |
parent | 6957a24cdcdceaa7dfc35bb3650a37ff48784be1 (diff) | |
download | tk-f79c55ff78a3655cd0828c7a8280e4c882d7b511.zip tk-f79c55ff78a3655cd0828c7a8280e4c882d7b511.tar.gz tk-f79c55ff78a3655cd0828c7a8280e4c882d7b511.tar.bz2 |
TIP 300 IMPLEMENTATION
FossilOrigin-Name: c2f09fce1e370748b29a5a3709a29153dfd4fc20
Diffstat (limited to 'doc/font.n')
-rw-r--r-- | doc/font.n | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -4,7 +4,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: font.n,v 1.8 2005/04/06 21:11:54 dkf Exp $ +'\" RCS: @(#) $Id: font.n,v 1.9 2006/12/01 20:14:23 kennykb Exp $ '\" .so man.macros .TH font n 8.0 Tk "Tk Built-In Commands" @@ -22,7 +22,7 @@ fonts, such as defining named fonts and inspecting the actual attributes of a font. The command has several different forms, determined by the first argument. The following forms are currently supported: .TP -\fBfont actual \fIfont\fR ?\fB\-displayof \fIwindow\fR? ?\fIoption\fR? +\fBfont actual \fIfont\fR ?\fB\-displayof \fIwindow\fR? ?\fIoption\fR? ?\fB--\fR? ?\fIchar\fR? . Returns information about the actual attributes that are obtained when \fIfont\fR is used on \fIwindow\fR's display; the actual attributes obtained @@ -32,7 +32,12 @@ limitations, such as the availability of font families and pointsizes. \fIwindow\fR argument is omitted, it defaults to the main window. If \fIoption\fR is specified, returns the value of that attribute; if it is omitted, the return value is a list of all the attributes and their values. -See FONT OPTIONS below for a list of the possible attributes. +See FONT OPTIONS below for a list of the possible attributes. If the +\fIchar\fR argument is supplied, it must be a single character. The font +attributes returned will be those of the specific font used to render +that character, which will be different from the base font if the base +font does not contain the given character. If \fIchar\fR may be a hyphen, it +should be preceded by \fB--\fR to distinguish it from a misspelt \fIoption\fR. .TP \fBfont configure \fIfontname\fR ?\fIoption\fR? ?\fIvalue option value ...\fR? . |