~ubuntu-branches/ubuntu/lucid/fontconfig/lucid

« back to all changes in this revision

Viewing changes to doc/FcUtf8Len.3

  • Committer: Bazaar Package Importer
  • Author(s): Fabio M. Di Nitto
  • Date: 2004-10-07 06:04:17 UTC
  • Revision ID: james.westby@ubuntu.com-20041007060417-dliqa1ebkoh7isns
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\" This manpage has been automatically generated by docbook2man 
 
2
.\" from a DocBook document.  This tool can be found at:
 
3
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> 
 
4
.\" Please send any bug reports, improvements, comments, patches, 
 
5
.\" etc. to Steve Cheng <steve@ggi-project.org>.
 
6
.TH "FcUtf8Len" "3" "10 March 2004" "" ""
 
7
 
 
8
.SH NAME
 
9
FcUtf8Len \- count UTF-8 encoded chars
 
10
.SH SYNOPSIS
 
11
.sp
 
12
\fB#include <fontconfig.h>
 
13
.sp
 
14
FcBool FcUtf8Len (FcChar8 *\fIsrc\fB, int\fIlen\fB, int *\fInchar\fB, int *\fIwchar\fB);
 
15
\fR
 
16
.SH "DESCRIPTION"
 
17
.PP
 
18
Counts the number of Unicode chars in \fIlen\fR bytes of
 
19
\fIsrc\fR.  Places that count in
 
20
\fInchar\fR.  \fIwchar\fR contains 1, 2 or
 
21
4 depending on the number of bytes needed to hold the largest unicode char
 
22
counted.  The return value indicates whether \fIsrc\fR is a
 
23
well-formed UTF8 string.
 
24
.SH "VERSION"
 
25
.PP
 
26
Fontconfig version 2.2.2