summaryrefslogtreecommitdiffstats
path: root/doc/font.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-10-23 10:51:44 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-10-23 10:51:44 (GMT)
commitfd43b948376cf8eec42403781f4399fa0cd2c19f (patch)
tree32330b52b673e2f5e5d5a84db084125cfa9432af /doc/font.n
parent4de969ee15c8df8c69b978f746350ac026f6622d (diff)
downloadtk-fd43b948376cf8eec42403781f4399fa0cd2c19f.zip
tk-fd43b948376cf8eec42403781f4399fa0cd2c19f.tar.gz
tk-fd43b948376cf8eec42403781f4399fa0cd2c19f.tar.bz2
Added TIP#145 documentation.
Diffstat (limited to 'doc/font.n')
-rw-r--r--doc/font.n40
1 files changed, 38 insertions, 2 deletions
diff --git a/doc/font.n b/doc/font.n
index a9bb80c..db733d8 100644
--- a/doc/font.n
+++ b/doc/font.n
@@ -5,7 +5,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.12 2007/10/22 14:33:13 dkf Exp $
+'\" RCS: @(#) $Id: font.n,v 1.13 2007/10/23 10:51:47 dkf Exp $
'\"
.so man.macros
.TH font n 8.0 Tk "Tk Built-In Commands"
@@ -261,7 +261,43 @@ font should be underlined. The default value for underline is \fBfalse\fR.
The value is a boolean flag that specifies whether a horizontal line should
be drawn through the middle of characters in this font. The default value
for overstrike is \fBfalse\fR.
-.SH "PLATFORM-SPECIFIC ISSUES"
+.SH "STANDARD FONTS"
+.LP
+The following named fonts are supported on all systems, and default to values
+that match appropriate system defaults.
+.TP
+\fBTkDefaultFont\fR
+.
+This font is the default for all GUI items not otherwise specified.
+.TP
+\fBTkFixedFont\fR
+.
+This font is the standard fixed-width font.
+.TP
+\fBTkMenuFont\fR
+.
+This font is used for menu items.
+.TP
+\fBTkCaptionFont\fR
+.
+This font should be used for window and dialog caption bars.
+.TP
+\fBTkSmallCaptionFont\fR
+.
+This font should be used for captions on contained windows or tool dialogs.
+.TP
+\fBTkIconFont\fR
+.
+This font should be used for icon captions.
+.TP
+\fBTkTooltipFont\fR
+.
+This font should be used for tooltip windows (transient information windows).
+.LP
+It is \fInot\fR advised to change these fonts, as they may be modified by Tk
+itself in response to system changes. Instead, make a copy of the font and
+modify that.
+.SS "PLATFORM-SPECIFIC FONTS"
.LP
The following named system fonts are supported:
.RS