Blame man/XFontsOfFontSet.man

Packit Service dc579d
.\" Copyright \(co 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1994, 1996 X Consortium
Packit Service dc579d
.\"
Packit Service dc579d
.\" Permission is hereby granted, free of charge, to any person obtaining
Packit Service dc579d
.\" a copy of this software and associated documentation files (the
Packit Service dc579d
.\" "Software"), to deal in the Software without restriction, including
Packit Service dc579d
.\" without limitation the rights to use, copy, modify, merge, publish,
Packit Service dc579d
.\" distribute, sublicense, and/or sell copies of the Software, and to
Packit Service dc579d
.\" permit persons to whom the Software is furnished to do so, subject to
Packit Service dc579d
.\" the following conditions:
Packit Service dc579d
.\"
Packit Service dc579d
.\" The above copyright notice and this permission notice shall be included
Packit Service dc579d
.\" in all copies or substantial portions of the Software.
Packit Service dc579d
.\"
Packit Service dc579d
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
Packit Service dc579d
.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
Packit Service dc579d
.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Packit Service dc579d
.\" IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
Packit Service dc579d
.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
Packit Service dc579d
.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
Packit Service dc579d
.\" OTHER DEALINGS IN THE SOFTWARE.
Packit Service dc579d
.\"
Packit Service dc579d
.\" Except as contained in this notice, the name of the X Consortium shall
Packit Service dc579d
.\" not be used in advertising or otherwise to promote the sale, use or
Packit Service dc579d
.\" other dealings in this Software without prior written authorization
Packit Service dc579d
.\" from the X Consortium.
Packit Service dc579d
.\"
Packit Service dc579d
.\" Copyright \(co 1985, 1986, 1987, 1988, 1989, 1990, 1991 by
Packit Service dc579d
.\" Digital Equipment Corporation
Packit Service dc579d
.\"
Packit Service dc579d
.\" Portions Copyright \(co 1990, 1991 by
Packit Service dc579d
.\" Tektronix, Inc.
Packit Service dc579d
.\"
Packit Service dc579d
.\" Permission to use, copy, modify and distribute this documentation for
Packit Service dc579d
.\" any purpose and without fee is hereby granted, provided that the above
Packit Service dc579d
.\" copyright notice appears in all copies and that both that copyright notice
Packit Service dc579d
.\" and this permission notice appear in all copies, and that the names of
Packit Service dc579d
.\" Digital and Tektronix not be used in in advertising or publicity pertaining
Packit Service dc579d
.\" to this documentation without specific, written prior permission.
Packit Service dc579d
.\" Digital and Tektronix makes no representations about the suitability
Packit Service dc579d
.\" of this documentation for any purpose.
Packit Service dc579d
.\" It is provided ``as is'' without express or implied warranty.
Packit Service dc579d
.\" 
Packit Service dc579d
.\"
Packit Service dc579d
.ds xT X Toolkit Intrinsics \- C Language Interface
Packit Service dc579d
.ds xW Athena X Widgets \- C Language X Toolkit Interface
Packit Service dc579d
.ds xL Xlib \- C Language X Interface
Packit Service dc579d
.ds xC Inter-Client Communication Conventions Manual
Packit Service dc579d
.na
Packit Service dc579d
.de Ds
Packit Service dc579d
.nf
Packit Service dc579d
.\\$1D \\$2 \\$1
Packit Service dc579d
.ft CW
Packit Service dc579d
.\".ps \\n(PS
Packit Service dc579d
.\".if \\n(VS>=40 .vs \\n(VSu
Packit Service dc579d
.\".if \\n(VS<=39 .vs \\n(VSp
Packit Service dc579d
..
Packit Service dc579d
.de De
Packit Service dc579d
.ce 0
Packit Service dc579d
.if \\n(BD .DF
Packit Service dc579d
.nr BD 0
Packit Service dc579d
.in \\n(OIu
Packit Service dc579d
.if \\n(TM .ls 2
Packit Service dc579d
.sp \\n(DDu
Packit Service dc579d
.fi
Packit Service dc579d
..
Packit Service dc579d
.de IN		\" send an index entry to the stderr
Packit Service dc579d
..
Packit Service dc579d
.de Pn
Packit Service dc579d
.ie t \\$1\fB\^\\$2\^\fR\\$3
Packit Service dc579d
.el \\$1\fI\^\\$2\^\fP\\$3
Packit Service dc579d
..
Packit Service dc579d
.de ZN
Packit Service dc579d
.ie t \fB\^\\$1\^\fR\\$2
Packit Service dc579d
.el \fI\^\\$1\^\fP\\$2
Packit Service dc579d
..
Packit Service dc579d
.de hN
Packit Service dc579d
.ie t <\fB\\$1\fR>\\$2
Packit Service dc579d
.el <\fI\\$1\fP>\\$2
Packit Service dc579d
..
Packit Service dc579d
.ny0
Packit Service dc579d
.TH XFontsOfFontSet __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
Packit Service dc579d
.SH NAME
Packit Service dc579d
XFontsOfFontSet, XBaseFontNameListOfFontSet, XLocaleOfFontSet, XContextDependentDrawing, XContextualDrawing, XDirectionalDependentDrawing \- obtain fontset information
Packit Service dc579d
.SH SYNTAX
Packit Service dc579d
.HP
Packit Service dc579d
int XFontsOfFontSet\^(\^XFontSet \fIfont_set\fP\^, XFontStruct
Packit Service dc579d
***\fIfont_struct_list_return\fP\^, char ***\fIfont_name_list_return\fP\^); 
Packit Service dc579d
.HP
Packit Service dc579d
char *XBaseFontNameListOfFontSet\^(\^XFontSet \fIfont_set\fP\^); 
Packit Service dc579d
.HP
Packit Service dc579d
char *XLocaleOfFontSet\^(\^XFontSet \fIfont_set\fP\^); 
Packit Service dc579d
.HP
Packit Service dc579d
Bool XContextDependentDrawing\^(\^XFontSet \fIfont_set\fP\^); 
Packit Service dc579d
.HP
Packit Service dc579d
Bool XContextualDrawing\^(\^XFontSet \fIfont_set\fP\^); 
Packit Service dc579d
.HP
Packit Service dc579d
Bool XDirectionalDependentDrawing\^(\^XFontSet \fIfont_set\fP\^); 
Packit Service dc579d
.SH ARGUMENTS
Packit Service dc579d
.IP \fIfont_set\fP 1i
Packit Service dc579d
Specifies the font set.
Packit Service dc579d
.IP \fIfont_name_list_return\fP 1i
Packit Service dc579d
Returns the list of font names.
Packit Service dc579d
.IP \fIfont_struct_list_return\fP 1i
Packit Service dc579d
Returns the list of font structs.
Packit Service dc579d
.SH DESCRIPTION
Packit Service dc579d
The
Packit Service dc579d
.ZN XFontsOfFontSet
Packit Service dc579d
function returns a list of one or more 
Packit Service dc579d
.ZN XFontStructs
Packit Service dc579d
and font names for the fonts used by the Xmb and Xwc layers
Packit Service dc579d
for the given font set.
Packit Service dc579d
A list of pointers to the
Packit Service dc579d
.ZN XFontStruct
Packit Service dc579d
structures is returned to font_struct_list_return.
Packit Service dc579d
A list of pointers to null-terminated, fully specified font name strings
Packit Service dc579d
in the locale of the font set is returned to font_name_list_return.
Packit Service dc579d
The font_name_list order corresponds to the font_struct_list order.
Packit Service dc579d
The number of
Packit Service dc579d
.ZN XFontStruct
Packit Service dc579d
structures and font names is returned as the value of the function.
Packit Service dc579d
.LP
Packit Service dc579d
Because it is not guaranteed that a given character will be imaged using a
Packit Service dc579d
single font glyph,
Packit Service dc579d
there is no provision for mapping a character or default string 
Packit Service dc579d
to the font properties, font ID, or direction hint for the font 
Packit Service dc579d
for the character.
Packit Service dc579d
The client may access the 
Packit Service dc579d
.ZN XFontStruct
Packit Service dc579d
list to obtain these values for all the fonts currently in use.
Packit Service dc579d
.LP
Packit Service dc579d
Xlib does not guarantee that fonts are loaded from the server
Packit Service dc579d
at the creation of an 
Packit Service dc579d
.ZN XFontSet .
Packit Service dc579d
Xlib may choose to cache font data, loading it only as needed to draw text 
Packit Service dc579d
or compute text dimensions.
Packit Service dc579d
Therefore, existence of the per_char metrics in the 
Packit Service dc579d
.ZN XFontStruct
Packit Service dc579d
structures in the
Packit Service dc579d
.ZN XFontStructSet
Packit Service dc579d
is undefined.
Packit Service dc579d
Also, note that all properties in the 
Packit Service dc579d
.ZN XFontStruct
Packit Service dc579d
structures are in the STRING encoding.
Packit Service dc579d
.LP
Packit Service dc579d
The 
Packit Service dc579d
.ZN XFontStruct
Packit Service dc579d
and font name lists are owned by Xlib 
Packit Service dc579d
and should not be modified or freed by the client.
Packit Service dc579d
They will be freed by a call to
Packit Service dc579d
.ZN XFreeFontSet
Packit Service dc579d
with the associated
Packit Service dc579d
.ZN XFontSet .
Packit Service dc579d
Until freed, their contents will not be modified by Xlib.
Packit Service dc579d
.LP
Packit Service dc579d
The
Packit Service dc579d
.ZN XBaseFontNameListOfFontSet
Packit Service dc579d
function returns the original base font name list supplied
Packit Service dc579d
by the client when the 
Packit Service dc579d
.ZN XFontSet
Packit Service dc579d
was created.
Packit Service dc579d
A null-terminated string containing a list of
Packit Service dc579d
comma-separated font names is returned
Packit Service dc579d
as the value of the function.
Packit Service dc579d
White space may appear immediately on either side of separating commas.
Packit Service dc579d
.LP
Packit Service dc579d
If 
Packit Service dc579d
.ZN XCreateFontSet
Packit Service dc579d
obtained an XLFD name from the font properties for the font specified
Packit Service dc579d
by a non-XLFD base name, the
Packit Service dc579d
.ZN XBaseFontNameListOfFontSet
Packit Service dc579d
function will return the XLFD name instead of the non-XLFD base name.
Packit Service dc579d
.LP
Packit Service dc579d
The base font name list is owned by Xlib and should not be modified or
Packit Service dc579d
freed by the client.
Packit Service dc579d
It will be freed by a call to 
Packit Service dc579d
.ZN XFreeFontSet
Packit Service dc579d
with the associated 
Packit Service dc579d
.ZN XFontSet .
Packit Service dc579d
Until freed, its contents will not be modified by Xlib.
Packit Service dc579d
.LP
Packit Service dc579d
The
Packit Service dc579d
.ZN XLocaleOfFontSet
Packit Service dc579d
function
Packit Service dc579d
returns the name of the locale bound to the specified
Packit Service dc579d
.ZN XFontSet ,
Packit Service dc579d
as a null-terminated string.
Packit Service dc579d
.LP
Packit Service dc579d
The returned locale name string is owned by Xlib
Packit Service dc579d
and should not be modified or freed by the client.
Packit Service dc579d
It may be freed by a call to
Packit Service dc579d
.ZN XFreeFontSet
Packit Service dc579d
with the associated 
Packit Service dc579d
.ZN XFontSet .
Packit Service dc579d
Until freed, it will not be modified by Xlib.
Packit Service dc579d
.LP
Packit Service dc579d
The
Packit Service dc579d
.ZN XContextDependentDrawing
Packit Service dc579d
function returns
Packit Service dc579d
.ZN True
Packit Service dc579d
if the drawing functions implement implicit text directionality or
Packit Service dc579d
if text drawn with the font_set might include context-dependent drawing;
Packit Service dc579d
otherwise, it returns
Packit Service dc579d
.ZN False .
Packit Service dc579d
.LP
Packit Service dc579d
The
Packit Service dc579d
.ZN XContextualDrawing
Packit Service dc579d
function returns
Packit Service dc579d
.ZN True
Packit Service dc579d
if text drawn with the font set might include context-dependent drawing;
Packit Service dc579d
otherwise, it returns
Packit Service dc579d
.ZN False .
Packit Service dc579d
.LP
Packit Service dc579d
The
Packit Service dc579d
.ZN XDirectionalDependentDrawing
Packit Service dc579d
function returns
Packit Service dc579d
.ZN True
Packit Service dc579d
if the drawing functions implement implicit text directionality;
Packit Service dc579d
otherwise, it returns
Packit Service dc579d
.ZN False .
Packit Service dc579d
.SH "SEE ALSO"
Packit Service dc579d
XCreateFontSet(__libmansuffix__),
Packit Service dc579d
XCreateOM(__libmansuffix__),
Packit Service dc579d
XCreateOC(__libmansuffix__),
Packit Service dc579d
XExtentsOfFontSet(__libmansuffix__),
Packit Service dc579d
XFontSetExtents(__libmansuffix__)
Packit Service dc579d
.br
Packit Service dc579d
\fI\*(xL\fP