X-Git-Url: https://git.wh0rd.org/?p=fontconfig.git;a=blobdiff_plain;f=fontconfig%2Ffontconfig.h;h=c36b8f58b3ef2252898b27336d33a9cfe9bb2b97;hp=55e1763b071b429176b726ee8516a4289d8ee7d1;hb=d2c8ac373e9ac45df66627cfc42679636d017f6e;hpb=74e16ceeeab86f50c4b6bea12800f70110cd4794 diff --git a/fontconfig/fontconfig.h b/fontconfig/fontconfig.h index 55e1763..c36b8f5 100644 --- a/fontconfig/fontconfig.h +++ b/fontconfig/fontconfig.h @@ -13,9 +13,9 @@ * representations about the suitability of this software for any purpose. It * is provided "as is" without express or implied warranty. * - * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + * THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO - * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR + * EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR @@ -52,8 +52,8 @@ typedef int FcBool; */ #define FC_MAJOR 2 -#define FC_MINOR 6 -#define FC_REVISION 0 +#define FC_MINOR 7 +#define FC_REVISION 1 #define FC_VERSION ((FC_MAJOR * 10000) + (FC_MINOR * 100) + (FC_REVISION)) @@ -342,6 +342,9 @@ FcConfigFilename (const FcChar8 *url); FcPublic FcConfig * FcConfigCreate (void); +FcPublic FcConfig * +FcConfigReference (FcConfig *config); + FcPublic void FcConfigDestroy (FcConfig *config); @@ -436,6 +439,9 @@ FcCharSetUnion (const FcCharSet *a, const FcCharSet *b); FcPublic FcCharSet* FcCharSetSubtract (const FcCharSet *a, const FcCharSet *b); +FcPublic FcBool +FcCharSetMerge (FcCharSet *a, const FcCharSet *b, FcBool *changed); + FcPublic FcBool FcCharSetHasChar (const FcCharSet *fcs, FcChar32 ucs4); @@ -591,6 +597,9 @@ FcLangSetEqual (const FcLangSet *lsa, const FcLangSet *lsb); FcPublic FcChar32 FcLangSetHash (const FcLangSet *ls); +FcPublic FcStrSet * +FcLangSetGetLangs (const FcLangSet *ls); + /* fclist.c */ FcPublic FcObjectSet * FcObjectSetCreate (void); @@ -827,6 +836,9 @@ FcPatternVaBuild (FcPattern *p, va_list va); FcPublic FcPattern * FcPatternBuild (FcPattern *p, ...) FC_ATTRIBUTE_SENTINEL(0); +FcPublic FcChar8 * +FcPatternFormat (FcPattern *pat, const FcChar8 *format); + /* fcstr.c */ FcPublic FcChar8 *