<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >FcFreeTypeCharSetAndSpacing</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" HREF="t1.html"><LINK REL="UP" TITLE="FreeType specific functions" HREF="x102.html#AEN1393"><LINK REL="PREVIOUS" TITLE="FcFreeTypeCharSet" HREF="fcfreetypecharset.html"><LINK REL="NEXT" TITLE="FcFreeTypeQuery" HREF="fcfreetypequery.html"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" ></TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="fcfreetypecharset.html" ACCESSKEY="P" ><<< Previous</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="fcfreetypequery.html" ACCESSKEY="N" >Next >>></A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="FCFREETYPECHARSETANDSPACING" ></A >FcFreeTypeCharSetAndSpacing</H1 ><DIV CLASS="REFNAMEDIV" ><A NAME="AEN1446" ></A ><H2 >Name</H2 >FcFreeTypeCharSetAndSpacing -- compute Unicode coverage and spacing type</DIV ><DIV CLASS="REFSYNOPSISDIV" ><A NAME="AEN1449" ></A ><H2 >Synopsis</H2 ><DIV CLASS="FUNCSYNOPSIS" ><P ></P ><A NAME="AEN1450" ></A ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><PRE CLASS="FUNCSYNOPSISINFO" >#include <fontconfig.h> #include <fcfreetype.h> </PRE ></TD ></TR ></TABLE ><P ><CODE ><CODE CLASS="FUNCDEF" >FcCharSet * <TT CLASS="FUNCTION" >FcFreeTypeCharSetAndSpacing</TT ></CODE >(FT_Face <TT CLASS="PARAMETER" ><I >face</I ></TT >, FcBlanks *<TT CLASS="PARAMETER" ><I >blanks</I ></TT >, int *<TT CLASS="PARAMETER" ><I >spacing</I ></TT >);</CODE ></P ><P ></P ></DIV ></DIV ><DIV CLASS="REFSECT1" ><A NAME="AEN1461" ></A ><H2 >Description</H2 ><P >Scans a FreeType face and returns the set of encoded Unicode chars. This scans several encoding tables to build as complete a list as possible. If 'blanks' is not 0, the glyphs in the font are examined and any blank glyphs not in 'blanks' are not placed in the returned FcCharSet. <TT CLASS="PARAMETER" ><I >spacing</I ></TT > receives the computed spacing type of the font, one of FC_MONO for a font where all glyphs have the same width, FC_DUAL, where the font has glyphs in precisely two widths, one twice as wide as the other, or FC_PROPORTIONAL where the font has glyphs of many widths. </P ></DIV ><DIV CLASS="REFSECT1" ><A NAME="AEN1465" ></A ><H2 >Version</H2 ><P >Fontconfig version 2.10.2 </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="fcfreetypecharset.html" ACCESSKEY="P" ><<< Previous</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="t1.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="fcfreetypequery.html" ACCESSKEY="N" >Next >>></A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >FcFreeTypeCharSet</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="x102.html#AEN1393" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >FcFreeTypeQuery</TD ></TR ></TABLE ></DIV ></BODY ></HTML >