< prev index next >

src/java.desktop/share/native/libfreetype/include/freetype/freetype.h

Print this page

        

*** 2,12 **** * * freetype.h * * FreeType high-level API and common types (specification only). * ! * Copyright (C) 1996-2019 by * David Turner, Robert Wilhelm, and Werner Lemberg. * * This file is part of the FreeType project, and may only be used, * modified, and distributed under the terms of the FreeType project * license, LICENSE.TXT. By continuing to use, modify, or distribute --- 2,12 ---- * * freetype.h * * FreeType high-level API and common types (specification only). * ! * Copyright (C) 1996-2020 by * David Turner, Robert Wilhelm, and Werner Lemberg. * * This file is part of the FreeType project, and may only be used, * modified, and distributed under the terms of the FreeType project * license, LICENSE.TXT. By continuing to use, modify, or distribute
*** 1237,1247 **** * @also: * @FT_HAS_VERTICAL can be used to check for vertical metrics. * */ #define FT_HAS_HORIZONTAL( face ) \ ! ( (face)->face_flags & FT_FACE_FLAG_HORIZONTAL ) /************************************************************************** * * @macro: --- 1237,1247 ---- * @also: * @FT_HAS_VERTICAL can be used to check for vertical metrics. * */ #define FT_HAS_HORIZONTAL( face ) \ ! ( !!( (face)->face_flags & FT_FACE_FLAG_HORIZONTAL ) ) /************************************************************************** * * @macro:
*** 1251,1261 **** * A macro that returns true whenever a face object contains real * vertical metrics (and not only synthesized ones). * */ #define FT_HAS_VERTICAL( face ) \ ! ( (face)->face_flags & FT_FACE_FLAG_VERTICAL ) /************************************************************************** * * @macro: --- 1251,1261 ---- * A macro that returns true whenever a face object contains real * vertical metrics (and not only synthesized ones). * */ #define FT_HAS_VERTICAL( face ) \ ! ( !!( (face)->face_flags & FT_FACE_FLAG_VERTICAL ) ) /************************************************************************** * * @macro:
*** 1265,1275 **** * A macro that returns true whenever a face object contains kerning data * that can be accessed with @FT_Get_Kerning. * */ #define FT_HAS_KERNING( face ) \ ! ( (face)->face_flags & FT_FACE_FLAG_KERNING ) /************************************************************************** * * @macro: --- 1265,1275 ---- * A macro that returns true whenever a face object contains kerning data * that can be accessed with @FT_Get_Kerning. * */ #define FT_HAS_KERNING( face ) \ ! ( !!( (face)->face_flags & FT_FACE_FLAG_KERNING ) ) /************************************************************************** * * @macro:
*** 1280,1290 **** * font face (true for TrueType, Type~1, Type~42, CID, OpenType/CFF, and * PFR font formats). * */ #define FT_IS_SCALABLE( face ) \ ! ( (face)->face_flags & FT_FACE_FLAG_SCALABLE ) /************************************************************************** * * @macro: --- 1280,1290 ---- * font face (true for TrueType, Type~1, Type~42, CID, OpenType/CFF, and * PFR font formats). * */ #define FT_IS_SCALABLE( face ) \ ! ( !!( (face)->face_flags & FT_FACE_FLAG_SCALABLE ) ) /************************************************************************** * * @macro:
*** 1299,1309 **** * If this macro is true, all functions defined in @FT_SFNT_NAMES_H and * @FT_TRUETYPE_TABLES_H are available. * */ #define FT_IS_SFNT( face ) \ ! ( (face)->face_flags & FT_FACE_FLAG_SFNT ) /************************************************************************** * * @macro: --- 1299,1309 ---- * If this macro is true, all functions defined in @FT_SFNT_NAMES_H and * @FT_TRUETYPE_TABLES_H are available. * */ #define FT_IS_SFNT( face ) \ ! ( !!( (face)->face_flags & FT_FACE_FLAG_SFNT ) ) /************************************************************************** * * @macro:
*** 1314,1324 **** * that contains fixed-width (or 'monospace', 'fixed-pitch', etc.) * glyphs. * */ #define FT_IS_FIXED_WIDTH( face ) \ ! ( (face)->face_flags & FT_FACE_FLAG_FIXED_WIDTH ) /************************************************************************** * * @macro: --- 1314,1324 ---- * that contains fixed-width (or 'monospace', 'fixed-pitch', etc.) * glyphs. * */ #define FT_IS_FIXED_WIDTH( face ) \ ! ( !!( (face)->face_flags & FT_FACE_FLAG_FIXED_WIDTH ) ) /************************************************************************** * * @macro:
*** 1329,1339 **** * embedded bitmaps. See the `available_sizes` field of the @FT_FaceRec * structure. * */ #define FT_HAS_FIXED_SIZES( face ) \ ! ( (face)->face_flags & FT_FACE_FLAG_FIXED_SIZES ) /************************************************************************** * * @macro: --- 1329,1339 ---- * embedded bitmaps. See the `available_sizes` field of the @FT_FaceRec * structure. * */ #define FT_HAS_FIXED_SIZES( face ) \ ! ( !!( (face)->face_flags & FT_FACE_FLAG_FIXED_SIZES ) ) /************************************************************************** * * @macro:
*** 1355,1365 **** * A macro that returns true whenever a face object contains some glyph * names that can be accessed through @FT_Get_Glyph_Name. * */ #define FT_HAS_GLYPH_NAMES( face ) \ ! ( (face)->face_flags & FT_FACE_FLAG_GLYPH_NAMES ) /************************************************************************** * * @macro: --- 1355,1365 ---- * A macro that returns true whenever a face object contains some glyph * names that can be accessed through @FT_Get_Glyph_Name. * */ #define FT_HAS_GLYPH_NAMES( face ) \ ! ( !!( (face)->face_flags & FT_FACE_FLAG_GLYPH_NAMES ) ) /************************************************************************** * * @macro:
*** 1370,1380 **** * multiple masters. The functions provided by @FT_MULTIPLE_MASTERS_H * are then available to choose the exact design you want. * */ #define FT_HAS_MULTIPLE_MASTERS( face ) \ ! ( (face)->face_flags & FT_FACE_FLAG_MULTIPLE_MASTERS ) /************************************************************************** * * @macro: --- 1370,1380 ---- * multiple masters. The functions provided by @FT_MULTIPLE_MASTERS_H * are then available to choose the exact design you want. * */ #define FT_HAS_MULTIPLE_MASTERS( face ) \ ! ( !!( (face)->face_flags & FT_FACE_FLAG_MULTIPLE_MASTERS ) ) /************************************************************************** * * @macro:
*** 1392,1402 **** * @since: * 2.7 * */ #define FT_IS_NAMED_INSTANCE( face ) \ ! ( (face)->face_index & 0x7FFF0000L ) /************************************************************************** * * @macro: --- 1392,1402 ---- * @since: * 2.7 * */ #define FT_IS_NAMED_INSTANCE( face ) \ ! ( !!( (face)->face_index & 0x7FFF0000L ) ) /************************************************************************** * * @macro:
*** 1410,1420 **** * @since: * 2.9 * */ #define FT_IS_VARIATION( face ) \ ! ( (face)->face_flags & FT_FACE_FLAG_VARIATION ) /************************************************************************** * * @macro: --- 1410,1420 ---- * @since: * 2.9 * */ #define FT_IS_VARIATION( face ) \ ! ( !!( (face)->face_flags & FT_FACE_FLAG_VARIATION ) ) /************************************************************************** * * @macro:
*** 1427,1437 **** * If this macro is true, all functions defined in @FT_CID_H are * available. * */ #define FT_IS_CID_KEYED( face ) \ ! ( (face)->face_flags & FT_FACE_FLAG_CID_KEYED ) /************************************************************************** * * @macro: --- 1427,1437 ---- * If this macro is true, all functions defined in @FT_CID_H are * available. * */ #define FT_IS_CID_KEYED( face ) \ ! ( !!( (face)->face_flags & FT_FACE_FLAG_CID_KEYED ) ) /************************************************************************** * * @macro:
*** 1441,1451 **** * A macro that returns true whenever a face represents a 'tricky' font. * See the discussion of @FT_FACE_FLAG_TRICKY for more details. * */ #define FT_IS_TRICKY( face ) \ ! ( (face)->face_flags & FT_FACE_FLAG_TRICKY ) /************************************************************************** * * @macro: --- 1441,1451 ---- * A macro that returns true whenever a face represents a 'tricky' font. * See the discussion of @FT_FACE_FLAG_TRICKY for more details. * */ #define FT_IS_TRICKY( face ) \ ! ( !!( (face)->face_flags & FT_FACE_FLAG_TRICKY ) ) /************************************************************************** * * @macro:
*** 1458,1468 **** * @since: * 2.5.1 * */ #define FT_HAS_COLOR( face ) \ ! ( (face)->face_flags & FT_FACE_FLAG_COLOR ) /************************************************************************** * * @enum: --- 1458,1468 ---- * @since: * 2.5.1 * */ #define FT_HAS_COLOR( face ) \ ! ( !!( (face)->face_flags & FT_FACE_FLAG_COLOR ) ) /************************************************************************** * * @enum:
*** 2076,2086 **** * * memory_size :: * The size in bytes of the file in memory. * * pathname :: ! * A pointer to an 8-bit file pathname. * * stream :: * A handle to a source stream object. * * driver :: --- 2076,2087 ---- * * memory_size :: * The size in bytes of the file in memory. * * pathname :: ! * A pointer to an 8-bit file pathname. The pointer is not owned by ! * FreeType. * * stream :: * A handle to a source stream object. * * driver ::
*** 4779,4789 **** * the 'libtool' package is _not_ controlled by these three macros. * */ #define FREETYPE_MAJOR 2 #define FREETYPE_MINOR 10 ! #define FREETYPE_PATCH 1 /************************************************************************** * * @function: --- 4780,4790 ---- * the 'libtool' package is _not_ controlled by these three macros. * */ #define FREETYPE_MAJOR 2 #define FREETYPE_MINOR 10 ! #define FREETYPE_PATCH 2 /************************************************************************** * * @function:
< prev index next >