summaryrefslogtreecommitdiffstats
path: root/doc/MeasureChar.3
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2005-04-06 21:11:49 (GMT)
committerdkf <dkf@noemail.net>2005-04-06 21:11:49 (GMT)
commit8753adf5eac1c636dccd15a0f46f333e7a7bf6dc (patch)
tree4703569bae4ea9053243ae2a3bd9823280c478ec /doc/MeasureChar.3
parente8a77bed0c168d8b993b0e3db5739f925ef77c43 (diff)
downloadtk-8753adf5eac1c636dccd15a0f46f333e7a7bf6dc.zip
tk-8753adf5eac1c636dccd15a0f46f333e7a7bf6dc.tar.gz
tk-8753adf5eac1c636dccd15a0f46f333e7a7bf6dc.tar.bz2
Purge old and inaccurate .VS/.VE macros.
FossilOrigin-Name: 326b9e3fd240a8960af85c80d3897b18871d42a5
Diffstat (limited to 'doc/MeasureChar.3')
-rw-r--r--doc/MeasureChar.38
1 files changed, 1 insertions, 7 deletions
diff --git a/doc/MeasureChar.3 b/doc/MeasureChar.3
index 324e623..79e4cbc 100644
--- a/doc/MeasureChar.3
+++ b/doc/MeasureChar.3
@@ -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: MeasureChar.3,v 1.6 2004/09/19 16:05:36 dkf Exp $
+'\" RCS: @(#) $Id: MeasureChar.3,v 1.7 2005/04/06 21:11:54 dkf Exp $
'\"
.so man.macros
.TH Tk_MeasureChars 3 8.1 Tk "Tk Library Procedures"
@@ -37,11 +37,9 @@ Text to be measured or displayed. Need not be null terminated. Any
non-printing meta-characters in the string (such as tabs, newlines, and
other control characters) will be measured or displayed in a
platform-dependent manner.
-.VS 8.1
.AP int numBytes in
The maximum number of bytes to consider when measuring or drawing
\fIstring\fR. Must be greater than or equal to 0.
-.VE 8.1
.AP int maxPixels in
If \fImaxPixels\fR is >= 0, it specifies the longest permissible
line length in pixels. Characters from \fIstring\fR are processed only
@@ -71,7 +69,6 @@ must be the same as the \fItkfont\fR.
.AP int "x, y" in
Coordinates at which to place the left edge of the baseline when displaying
\fIstring\fR.
-.VS 8.1
.AP int firstByte in
The index of the first byte of the first character to underline in the
\fIstring\fR. Underlining begins at the left edge of this character.
@@ -79,7 +76,6 @@ The index of the first byte of the first character to underline in the
The index of the first byte of the last character up to which the
underline will be drawn. The character specified by \fIlastByte\fR
will not itself be underlined.
-.VE 8.1
.BE
.SH DESCRIPTION
@@ -90,12 +86,10 @@ justified text, refer to the documentation for \fBTk_ComputeTextLayout\fR.
There is no programming interface in the core of Tk that supports
multi-font, multi-line text; support for that behavior must be built on
top of simpler layers.
-.VS 8.1
Note that the interfaces described here are
byte-oriented not character-oriented, so index values coming from Tcl
scripts need to be converted to byte offsets using the
\fBTcl_UtfAtIndex\fR and related routines.
-.VE 8.1
.PP
A glyph is the displayable picture of a letter, number, or some other
symbol. Not all character codes in a given font have a glyph.