FcCharSetCreate 3 FcCharSetCreate Create an empty character set #include <fontconfig/fontconfig.h> FcCharSet * FcCharSetCreate void Description FcCharSetCreate allocates and initializes a new empty character set object. Version Fontconfig version &version; FcCharSetDestroy 3 FcCharSetDestroy Destroy a character set #include <fontconfig/fontconfig.h> void FcCharSetDestroy FcCharSet *fcs Description FcCharSetDestroy decrements the reference count fcs. If the reference count becomes zero, all memory referenced is freed. Version Fontconfig version &version; FcCharSetAddChar 3 FcCharSetAddChar Add a character to a charset #include <fontconfig/fontconfig.h> FcBool FcCharSetAddChar FcCharSet *fcs FcChar32 ucs4 Description FcCharSetAddChar adds a single Unicode char to the set, returning FcFalse on failure, either as a result of a constant set or from running out of memory. Version Fontconfig version &version; FcCharSetDelChar 3 FcCharSetDelChar Add a character to a charset #include <fontconfig/fontconfig.h> FcBool FcCharSetDelChar FcCharSet *fcs FcChar32 ucs4 Description FcCharSetDelChar deletes a single Unicode char from the set, returning FcFalse on failure, either as a result of a constant set or from running out of memory. Version Fontconfig version &version; FcCharSetCopy 3 FcCharSetCopy Copy a charset #include <fontconfig/fontconfig.h> FcCharSet * FcCharSetCopy FcCharSet *src Description Makes a copy of src; note that this may not actually do anything more than increment the reference count on src. Version Fontconfig version &version; FcCharSetEqual 3 FcCharSetEqual Compare two charsets #include <fontconfig/fontconfig.h> FcBool FcCharSetEqual const FcCharSet *a const FcCharSet *b Description Returns whether a and b contain the same set of Unicode chars. Version Fontconfig version &version; FcCharSetIntersect 3 FcCharSetIntersect Intersect charsets #include <fontconfig/fontconfig.h> FcCharSet * FcCharSetIntersect const FcCharSet *a const FcCharSet *b Description Returns a set including only those chars found in both a and b. Version Fontconfig version &version; FcCharSetUnion 3 FcCharSetUnion Add charsets #include <fontconfig/fontconfig.h> FcCharSet * FcCharSetUnion const FcCharSet *a const FcCharSet *b Description Returns a set including only those chars found in either a or b. Version Fontconfig version &version; FcCharSetSubtract 3 FcCharSetSubtract Subtract charsets #include <fontconfig/fontconfig.h> FcCharSet * FcCharSetSubtract const FcCharSet *a const FcCharSet *b Description Returns a set including only those chars found in a but not b. Version Fontconfig version &version; FcCharSetMerge 3 FcCharSetMerge Merge charsets #include <fontconfig/fontconfig.h> FcBool FcCharSetMerge FcCharSet *a const FcCharSet *b FcBool *changed Description Adds all chars in b to a. In other words, this is an in-place version of FcCharSetUnion. If changed is not NULL, then it returns whether any new chars from b were added to a. Returns FcFalse on failure, either when a is a constant set or from running out of memory. Version Fontconfig version &version; FcCharSetHasChar 3 FcCharSetHasChar Check a charset for a char #include <fontconfig/fontconfig.h> FcBool FcCharSetHasChar const FcCharSet *fcs FcChar32 ucs4 Description Returns whether fcs contains the char ucs4. Version Fontconfig version &version; FcCharSetCount 3 FcCharSetCount Count entries in a charset #include <fontconfig/fontconfig.h> FcChar32 FcCharSetCount const FcCharSet *a Description Returns the total number of Unicode chars in a. Version Fontconfig version &version; FcCharSetIntersectCount 3 FcCharSetIntersectCount Intersect and count charsets #include <fontconfig/fontconfig.h> FcChar32 FcCharSetIntersectCount const FcCharSet *a const FcCharSet *b Description Returns the number of chars that are in both a and b. Version Fontconfig version &version; FcCharSetSubtractCount 3 FcCharSetSubtractCount Subtract and count charsets #include <fontconfig/fontconfig.h> FcChar32 FcCharSetSubtractCount const FcCharSet *a const FcCharSet *b Description Returns the number of chars that are in a but not in b. Version Fontconfig version &version; FcCharSetIsSubset 3 FcCharSetIsSubset Test for charset inclusion #include <fontconfig/fontconfig.h> FcBool FcCharSetIsSubset const FcCharSet *a const FcCharSet *b Description Returns whether a is a subset of b. Version Fontconfig version &version; FcCharSetFirstPage 3 FcCharSetFirstPage Start enumerating charset contents #include <fontconfig/fontconfig.h> FcChar32 FcCharSetFirstPage const FcCharSet *a FcChar32[FC_CHARSET_MAP_SIZE] map FcChar32 *next Description Builds an array of bits marking the first page of Unicode coverage of a. Returns the base of the array. next contains the next page in the font. Version Fontconfig version &version; FcCharSetNextPage 3 FcCharSetNextPage Continue enumerating charset contents #include <fontconfig/fontconfig.h> FcChar32 FcCharSetNextPage const FcCharSet *a FcChar32[FC_CHARSET_MAP_SIZE] map FcChar32 *next Description Builds an array of bits marking the Unicode coverage of a for page *next. Returns the base of the array. next contains the next page in the font. Version Fontconfig version &version; FcCharSetCoverage 3 FcCharSetCoverage DEPRECATED return coverage for a Unicode page #include <fontconfig/fontconfig.h> FcChar32 FcCharSetCoverage const FcCharSet *a FcChar32page FcChar32[8]result Description DEPRECATED This function returns a bitmask in result which indicates which code points in page are included in a. FcCharSetCoverage returns the next page in the charset which has any coverage. Version Fontconfig version &version; FcCharSetNew 3 FcCharSetNew DEPRECATED alias for FcCharSetCreate #include <fontconfig/fontconfig.h> FcCharSet * FcCharSetNew void Description FcCharSetNew is a DEPRECATED alias for FcCharSetCreate. Version Fontconfig version &version;