2006-11-25 11:41:30 -07:00
|
|
|
.\" This manpage has been automatically generated by docbook2man
|
|
|
|
.\" from a DocBook document. This tool can be found at:
|
|
|
|
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
|
|
|
|
.\" Please send any bug reports, improvements, comments, patches,
|
|
|
|
.\" etc. to Steve Cheng <steve@ggi-project.org>.
|
2006-12-31 07:57:18 -07:00
|
|
|
.TH "FcUtf16Len" "3" "02 December 2006" "" ""
|
2006-11-25 11:41:30 -07:00
|
|
|
|
|
|
|
.SH NAME
|
|
|
|
FcUtf16Len \- count UTF-16 encoded chars
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.sp
|
|
|
|
\fB#include <fontconfig.h>
|
|
|
|
.sp
|
2006-12-31 07:57:18 -07:00
|
|
|
FcBool FcUtf16Len (FcChar8 *\fIsrc\fB, FcEndian \fIendian\fB, int \fIlen\fB, int *\fInchar\fB, int *\fIwchar\fB);
|
2006-11-25 11:41:30 -07:00
|
|
|
\fR
|
|
|
|
.SH "DESCRIPTION"
|
|
|
|
.PP
|
|
|
|
Counts the number of Unicode chars in \fIlen\fR bytes of
|
|
|
|
\fIsrc\fR\&. Bytes of \fIsrc\fR are
|
|
|
|
combined into 16-bit units according to \fIendian\fR\&.
|
|
|
|
Places that count in \fInchar\fR\&.
|
|
|
|
\fIwchar\fR contains 1, 2 or 4 depending on the number of
|
|
|
|
bytes needed to hold the largest unicode char counted. The return value
|
|
|
|
indicates whether \fIstring\fR is a well-formed UTF16
|
|
|
|
string.
|
|
|
|
.SH "VERSION"
|
|
|
|
.PP
|
2006-12-31 07:57:18 -07:00
|
|
|
Fontconfig version 2.4.2
|