summaryrefslogtreecommitdiffstats
path: root/doc/font.n
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2007-10-23 10:51:44 (GMT)
committerdkf <dkf@noemail.net>2007-10-23 10:51:44 (GMT)
commit500c7598151a521aca4fe5c9277889e2c93983b0 (patch)
tree32330b52b673e2f5e5d5a84db084125cfa9432af /doc/font.n
parentfe102f6ea47737a28d411cb7b2e41f9d55c4c1d4 (diff)
downloadtk-500c7598151a521aca4fe5c9277889e2c93983b0.zip
tk-500c7598151a521aca4fe5c9277889e2c93983b0.tar.gz
tk-500c7598151a521aca4fe5c9277889e2c93983b0.tar.bz2
Added TIP#145 documentation.
FossilOrigin-Name: bdb49f7828919635220e2d8ae1317a74853ea786
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