summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqfont.3qt
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2015-03-05 20:59:01 -0600
committerTimothy Pearson <[email protected]>2015-03-05 20:59:01 -0600
commitdfb87398c72e9248aa709ae212e6ab7f2209003d (patch)
tree52422e7b6774fcc503d7c701cb2c77fa016386e8 /doc/man/man3/tqfont.3qt
parent891a448afad4ab1f09bfb0cfee71652975bd7687 (diff)
downloadtqt3-dfb87398c72e9248aa709ae212e6ab7f2209003d.tar.gz
tqt3-dfb87398c72e9248aa709ae212e6ab7f2209003d.zip
Automated update from Qt3
Diffstat (limited to 'doc/man/man3/tqfont.3qt')
-rw-r--r--doc/man/man3/tqfont.3qt24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/man/man3/tqfont.3qt b/doc/man/man3/tqfont.3qt
index 29f56ed73..05c7385de 100644
--- a/doc/man/man3/tqfont.3qt
+++ b/doc/man/man3/tqfont.3qt
@@ -230,7 +230,7 @@ QFont \- Font used for drawing text
.SH DESCRIPTION
The QFont class specifies a font used for drawing text.
.PP
-When you create a QFont object you specify various attributes that you want the font to have. Qt will use the font with the specified attributes, or if no matching font exists, Qt will use the closest matching installed font. The attributes of the font that is actually used are retrievable from a QFontInfo object. If the window system provides an exact match exactMatch() returns TRUE. Use QFontMetrics to get measurements, e.g. the pixel length of a string using QFontMetrics::width().
+When you create a QFont object you specify various attributes that you want the font to have. TQt will use the font with the specified attributes, or if no matching font exists, TQt will use the closest matching installed font. The attributes of the font that is actually used are retrievable from a QFontInfo object. If the window system provides an exact match exactMatch() returns TRUE. Use QFontMetrics to get measurements, e.g. the pixel length of a string using QFontMetrics::width().
.PP
Use QApplication::setFont() to set the application's default font.
.PP
@@ -270,9 +270,9 @@ Each replacement font family is searched for.
.IP 4
If none of these are found or there was no styleHint(), "helvetica" will be searched for.
.IP 5
-If "helvetica" isn't found Qt will try the lastResortFamily().
+If "helvetica" isn't found TQt will try the lastResortFamily().
.IP 6
-If the lastResortFamily() isn't found Qt will try the lastResortFont() which will always return a name of some kind.
+If the lastResortFamily() isn't found TQt will try the lastResortFont() which will always return a name of some kind.
.PP
Once a font is found, the remaining attributes are matched in order of priority: <ol type=1>
.IP 7
@@ -302,9 +302,9 @@ If you had both an Adobe and a Cronyx Helvetica, you might get either.
.PP
.nf
.br
- QFont f1( "Helvetica [Cronyx]" ); // Qt 3.x
+ QFont f1( "Helvetica [Cronyx]" ); // TQt 3.x
.br
- QFont f2( "Cronyx-Helvetica" ); // Qt 2.x compatibility
+ QFont f2( "Cronyx-Helvetica" ); // TQt 2.x compatibility
.br
.fi
You can specify the foundry you want in the family name. Both fonts, f1 and f2, in the above example will be set to "Helvetica [Cronyx]".
@@ -553,7 +553,7 @@ Constructs a font object with the specified \fIfamily\fR, \fIpointSize\fR, \fIwe
.PP
If \fIpointSize\fR is <= 0 it is set to 1.
.PP
-The \fIfamily\fR name may optionally also include a foundry name, e.g. "Helvetica [Cronyx]". (The Qt 2.x syntax, i.e." Cronyx-Helvetica", is also supported.) If the \fIfamily\fR is available from more than one foundry and the foundry isn't specified, an arbitrary foundry is chosen. If the family isn't available a family will be set using the font matching algorithm.
+The \fIfamily\fR name may optionally also include a foundry name, e.g. "Helvetica [Cronyx]". (The TQt 2.x syntax, i.e." Cronyx-Helvetica", is also supported.) If the \fIfamily\fR is available from more than one foundry and the foundry isn't specified, an arbitrary foundry is chosen. If the family isn't available a family will be set using the font matching algorithm.
.PP
See also Weight, setFamily(), setPointSize(), setWeight(), setItalic(), setStyleHint(), and QApplication::font().
.SH "QFont::QFont ( const QFont & font )"
@@ -640,7 +640,7 @@ Returns a "last resort" font name for the font matching algorithm. This is used
.PP
The current implementation tries a wide variety of common fonts, returning the first one it finds. The implementation may change at any time, but this function will always return a string containing something.
.PP
-It is theoretically possible that there really isn't a lastResortFont() in which case Qt will abort with an error message. We have not been able to identify a case where this happens. Please report it as a bug if it does, preferably with a list of the fonts you have installed.
+It is theoretically possible that there really isn't a lastResortFont() in which case TQt will abort with an error message. We have not been able to identify a case where this happens. Please report it as a bug if it does, preferably with a list of the fonts you have installed.
.PP
See also lastResortFamily() and rawName().
.SH "bool QFont::operator!= ( const QFont & f ) const"
@@ -691,7 +691,7 @@ Returns the name of the font within the underlying window system.
.PP
On Windows, this is usually just the family name of a TrueType font.
.PP
-On X11, it is an XLFD (X Logical Font Description). When Qt is build with Xft support on X11, the return value can be an Xft pattern or an XLFD.
+On X11, it is an XLFD (X Logical Font Description). When TQt is build with Xft support on X11, the return value can be an Xft pattern or an XLFD.
.PP
Using the return value of this function is usually \fInot\fR \fIportable\fR.
.PP
@@ -718,7 +718,7 @@ Please use QApplication::setFont() instead.
.SH "void QFont::setFamily ( const QString & family )"
Sets the family name of the font. The name is case insensitive and may include a foundry name.
.PP
-The \fIfamily\fR name may optionally also include a foundry name, e.g. "Helvetica [Cronyx]". (The Qt 2.x syntax, i.e." Cronyx-Helvetica", is also supported.) If the \fIfamily\fR is available from more than one foundry and the foundry isn't specified, an arbitrary foundry is chosen. If the family isn't available a family will be set using the font matching algorithm.
+The \fIfamily\fR name may optionally also include a foundry name, e.g. "Helvetica [Cronyx]". (The TQt 2.x syntax, i.e." Cronyx-Helvetica", is also supported.) If the \fIfamily\fR is available from more than one foundry and the foundry isn't specified, an arbitrary foundry is chosen. If the family isn't available a family will be set using the font matching algorithm.
.PP
See also family(), setStyleHint(), and QFontInfo.
.SH "void QFont::setFixedPitch ( bool enable )"
@@ -761,7 +761,7 @@ See also pointSizeFloat(), setPointSize(), and setPixelSize().
.SH "void QFont::setRawMode ( bool enable )"
If \fIenable\fR is TRUE, turns raw mode on; otherwise turns raw mode off. This function only has an effect under X11.
.PP
-If raw mode is enabled, Qt will search for an X font with a complete font name matching the family name, ignoring all other values set for the QFont. If the font name matches several fonts, Qt will use the first font returned by X. QFontInfo \fIcannot\fR be used to fetch information about a QFont using raw mode (it will return the values set in the QFont for all parameters, including the family name).
+If raw mode is enabled, TQt will search for an X font with a complete font name matching the family name, ignoring all other values set for the QFont. If the font name matches several fonts, TQt will use the first font returned by X. QFontInfo \fIcannot\fR be used to fetch information about a QFont using raw mode (it will return the values set in the QFont for all parameters, including the family name).
.PP
\fBWarning:\fR Do not use raw mode unless you really, really need it! In most (if not all) cases, setRawName() is a much better choice.
.PP
@@ -894,8 +894,8 @@ If you find a bug in Qt, please report it as described in
.BR http://doc.trolltech.com/bughowto.html .
Good bug reports help us to help you. Thank you.
.P
-The definitive Qt documentation is provided in HTML format; it is
-located at $QTDIR/doc/html and can be read using Qt Assistant or with
+The definitive TQt documentation is provided in HTML format; it is
+located at $QTDIR/doc/html and can be read using TQt Assistant or with
a web browser. This man page is provided as a convenience for those
users who prefer man pages, although this format is not officially
supported by Trolltech.