updated freetype to 2.3.9
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29657 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -25,14 +25,6 @@
|
||||
#endif
|
||||
|
||||
|
||||
/*************************************************************************/
|
||||
/* */
|
||||
/* The `raster' component duplicates some of the declarations in */
|
||||
/* freetype.h for stand-alone use if _FREETYPE_ isn't defined. */
|
||||
/* */
|
||||
/*************************************************************************/
|
||||
|
||||
|
||||
#ifndef __FREETYPE_H__
|
||||
#define __FREETYPE_H__
|
||||
|
||||
@@ -395,8 +387,8 @@ FT_BEGIN_HEADER
|
||||
/* Use @FT_Done_Face to destroy it (along with its slot and sizes). */
|
||||
/* */
|
||||
/* <Also> */
|
||||
/* The @FT_FaceRec details the publicly accessible fields of a given */
|
||||
/* face object. */
|
||||
/* See @FT_FaceRec for the publicly accessible fields of a given face */
|
||||
/* object. */
|
||||
/* */
|
||||
typedef struct FT_FaceRec_* FT_Face;
|
||||
|
||||
@@ -425,8 +417,8 @@ FT_BEGIN_HEADER
|
||||
/* activated at any given time per face. */
|
||||
/* */
|
||||
/* <Also> */
|
||||
/* The @FT_SizeRec structure details the publicly accessible fields */
|
||||
/* of a given size object. */
|
||||
/* See @FT_SizeRec for the publicly accessible fields of a given size */
|
||||
/* object. */
|
||||
/* */
|
||||
typedef struct FT_SizeRec_* FT_Size;
|
||||
|
||||
@@ -438,7 +430,7 @@ FT_BEGIN_HEADER
|
||||
/* */
|
||||
/* <Description> */
|
||||
/* A handle to a given `glyph slot'. A slot is a container where it */
|
||||
/* is possible to load any one of the glyphs contained in its parent */
|
||||
/* is possible to load any of the glyphs contained in its parent */
|
||||
/* face. */
|
||||
/* */
|
||||
/* In other words, each time you call @FT_Load_Glyph or */
|
||||
@@ -447,7 +439,7 @@ FT_BEGIN_HEADER
|
||||
/* other control information. */
|
||||
/* */
|
||||
/* <Also> */
|
||||
/* @FT_GlyphSlotRec details the publicly accessible glyph fields. */
|
||||
/* See @FT_GlyphSlotRec for the publicly accessible glyph fields. */
|
||||
/* */
|
||||
typedef struct FT_GlyphSlotRec_* FT_GlyphSlot;
|
||||
|
||||
@@ -478,8 +470,8 @@ FT_BEGIN_HEADER
|
||||
/* the list and automatically activates it. */
|
||||
/* */
|
||||
/* <Also> */
|
||||
/* The @FT_CharMapRec details the publicly accessible fields of a */
|
||||
/* given character map. */
|
||||
/* See @FT_CharMapRec for the publicly accessible fields of a given */
|
||||
/* character map. */
|
||||
/* */
|
||||
typedef struct FT_CharMapRec_* FT_CharMap;
|
||||
|
||||
@@ -535,123 +527,123 @@ FT_BEGIN_HEADER
|
||||
/* Other encodings might be defined in the future. */
|
||||
/* */
|
||||
/* <Values> */
|
||||
/* FT_ENCODING_NONE :: */
|
||||
/* The encoding value~0 is reserved. */
|
||||
/* FT_ENCODING_NONE :: */
|
||||
/* The encoding value~0 is reserved. */
|
||||
/* */
|
||||
/* FT_ENCODING_UNICODE :: */
|
||||
/* Corresponds to the Unicode character set. This value covers */
|
||||
/* all versions of the Unicode repertoire, including ASCII and */
|
||||
/* Latin-1. Most fonts include a Unicode charmap, but not all */
|
||||
/* of them. */
|
||||
/* FT_ENCODING_UNICODE :: */
|
||||
/* Corresponds to the Unicode character set. This value covers */
|
||||
/* all versions of the Unicode repertoire, including ASCII and */
|
||||
/* Latin-1. Most fonts include a Unicode charmap, but not all */
|
||||
/* of them. */
|
||||
/* */
|
||||
/* FT_ENCODING_MS_SYMBOL :: */
|
||||
/* Corresponds to the Microsoft Symbol encoding, used to encode */
|
||||
/* mathematical symbols in the 32..255 character code range. For */
|
||||
/* more information, see `http://www.ceviz.net/symbol.htm'. */
|
||||
/* FT_ENCODING_MS_SYMBOL :: */
|
||||
/* Corresponds to the Microsoft Symbol encoding, used to encode */
|
||||
/* mathematical symbols in the 32..255 character code range. For */
|
||||
/* more information, see `http://www.ceviz.net/symbol.htm'. */
|
||||
/* */
|
||||
/* FT_ENCODING_SJIS :: */
|
||||
/* Corresponds to Japanese SJIS encoding. More info at */
|
||||
/* at `http://langsupport.japanreference.com/encoding.shtml'. */
|
||||
/* See note on multi-byte encodings below. */
|
||||
/* FT_ENCODING_SJIS :: */
|
||||
/* Corresponds to Japanese SJIS encoding. More info at */
|
||||
/* at `http://langsupport.japanreference.com/encoding.shtml'. */
|
||||
/* See note on multi-byte encodings below. */
|
||||
/* */
|
||||
/* FT_ENCODING_GB2312 :: */
|
||||
/* Corresponds to an encoding system for Simplified Chinese as used */
|
||||
/* used in mainland China. */
|
||||
/* FT_ENCODING_GB2312 :: */
|
||||
/* Corresponds to an encoding system for Simplified Chinese as used */
|
||||
/* used in mainland China. */
|
||||
/* */
|
||||
/* FT_ENCODING_BIG5 :: */
|
||||
/* Corresponds to an encoding system for Traditional Chinese as used */
|
||||
/* in Taiwan and Hong Kong. */
|
||||
/* FT_ENCODING_BIG5 :: */
|
||||
/* Corresponds to an encoding system for Traditional Chinese as */
|
||||
/* used in Taiwan and Hong Kong. */
|
||||
/* */
|
||||
/* FT_ENCODING_WANSUNG :: */
|
||||
/* Corresponds to the Korean encoding system known as Wansung. */
|
||||
/* For more information see */
|
||||
/* `http://www.microsoft.com/typography/unicode/949.txt'. */
|
||||
/* FT_ENCODING_WANSUNG :: */
|
||||
/* Corresponds to the Korean encoding system known as Wansung. */
|
||||
/* For more information see */
|
||||
/* `http://www.microsoft.com/typography/unicode/949.txt'. */
|
||||
/* */
|
||||
/* FT_ENCODING_JOHAB :: */
|
||||
/* The Korean standard character set (KS~C 5601-1992), which */
|
||||
/* corresponds to MS Windows code page 1361. This character set */
|
||||
/* includes all possible Hangeul character combinations. */
|
||||
/* FT_ENCODING_JOHAB :: */
|
||||
/* The Korean standard character set (KS~C 5601-1992), which */
|
||||
/* corresponds to MS Windows code page 1361. This character set */
|
||||
/* includes all possible Hangeul character combinations. */
|
||||
/* */
|
||||
/* FT_ENCODING_ADOBE_LATIN_1 :: */
|
||||
/* Corresponds to a Latin-1 encoding as defined in a Type~1 */
|
||||
/* PostScript font. It is limited to 256 character codes. */
|
||||
/* FT_ENCODING_ADOBE_LATIN_1 :: */
|
||||
/* Corresponds to a Latin-1 encoding as defined in a Type~1 */
|
||||
/* PostScript font. It is limited to 256 character codes. */
|
||||
/* */
|
||||
/* FT_ENCODING_ADOBE_STANDARD :: */
|
||||
/* Corresponds to the Adobe Standard encoding, as found in Type~1, */
|
||||
/* CFF, and OpenType/CFF fonts. It is limited to 256 character */
|
||||
/* codes. */
|
||||
/* FT_ENCODING_ADOBE_STANDARD :: */
|
||||
/* Corresponds to the Adobe Standard encoding, as found in Type~1, */
|
||||
/* CFF, and OpenType/CFF fonts. It is limited to 256 character */
|
||||
/* codes. */
|
||||
/* */
|
||||
/* FT_ENCODING_ADOBE_EXPERT :: */
|
||||
/* Corresponds to the Adobe Expert encoding, as found in Type~1, */
|
||||
/* CFF, and OpenType/CFF fonts. It is limited to 256 character */
|
||||
/* codes. */
|
||||
/* FT_ENCODING_ADOBE_EXPERT :: */
|
||||
/* Corresponds to the Adobe Expert encoding, as found in Type~1, */
|
||||
/* CFF, and OpenType/CFF fonts. It is limited to 256 character */
|
||||
/* codes. */
|
||||
/* */
|
||||
/* FT_ENCODING_ADOBE_CUSTOM :: */
|
||||
/* Corresponds to a custom encoding, as found in Type~1, CFF, and */
|
||||
/* OpenType/CFF fonts. It is limited to 256 character codes. */
|
||||
/* FT_ENCODING_ADOBE_CUSTOM :: */
|
||||
/* Corresponds to a custom encoding, as found in Type~1, CFF, and */
|
||||
/* OpenType/CFF fonts. It is limited to 256 character codes. */
|
||||
/* */
|
||||
/* FT_ENCODING_APPLE_ROMAN :: */
|
||||
/* Corresponds to the 8-bit Apple roman encoding. Many TrueType and */
|
||||
/* OpenType fonts contain a charmap for this encoding, since older */
|
||||
/* versions of Mac OS are able to use it. */
|
||||
/* FT_ENCODING_APPLE_ROMAN :: */
|
||||
/* Corresponds to the 8-bit Apple roman encoding. Many TrueType */
|
||||
/* and OpenType fonts contain a charmap for this encoding, since */
|
||||
/* older versions of Mac OS are able to use it. */
|
||||
/* */
|
||||
/* FT_ENCODING_OLD_LATIN_2 :: */
|
||||
/* This value is deprecated and was never used nor reported by */
|
||||
/* FreeType. Don't use or test for it. */
|
||||
/* FT_ENCODING_OLD_LATIN_2 :: */
|
||||
/* This value is deprecated and was never used nor reported by */
|
||||
/* FreeType. Don't use or test for it. */
|
||||
/* */
|
||||
/* FT_ENCODING_MS_SJIS :: */
|
||||
/* Same as FT_ENCODING_SJIS. Deprecated. */
|
||||
/* FT_ENCODING_MS_SJIS :: */
|
||||
/* Same as FT_ENCODING_SJIS. Deprecated. */
|
||||
/* */
|
||||
/* FT_ENCODING_MS_GB2312 :: */
|
||||
/* Same as FT_ENCODING_GB2312. Deprecated. */
|
||||
/* FT_ENCODING_MS_GB2312 :: */
|
||||
/* Same as FT_ENCODING_GB2312. Deprecated. */
|
||||
/* */
|
||||
/* FT_ENCODING_MS_BIG5 :: */
|
||||
/* Same as FT_ENCODING_BIG5. Deprecated. */
|
||||
/* FT_ENCODING_MS_BIG5 :: */
|
||||
/* Same as FT_ENCODING_BIG5. Deprecated. */
|
||||
/* */
|
||||
/* FT_ENCODING_MS_WANSUNG :: */
|
||||
/* Same as FT_ENCODING_WANSUNG. Deprecated. */
|
||||
/* FT_ENCODING_MS_WANSUNG :: */
|
||||
/* Same as FT_ENCODING_WANSUNG. Deprecated. */
|
||||
/* */
|
||||
/* FT_ENCODING_MS_JOHAB :: */
|
||||
/* Same as FT_ENCODING_JOHAB. Deprecated. */
|
||||
/* FT_ENCODING_MS_JOHAB :: */
|
||||
/* Same as FT_ENCODING_JOHAB. Deprecated. */
|
||||
/* */
|
||||
/* <Note> */
|
||||
/* By default, FreeType automatically synthesizes a Unicode charmap */
|
||||
/* for PostScript fonts, using their glyph names dictionaries. */
|
||||
/* However, it also reports the encodings defined explicitly in the */
|
||||
/* font file, for the cases when they are needed, with the Adobe */
|
||||
/* values as well. */
|
||||
/* By default, FreeType automatically synthesizes a Unicode charmap */
|
||||
/* for PostScript fonts, using their glyph names dictionaries. */
|
||||
/* However, it also reports the encodings defined explicitly in the */
|
||||
/* font file, for the cases when they are needed, with the Adobe */
|
||||
/* values as well. */
|
||||
/* */
|
||||
/* FT_ENCODING_NONE is set by the BDF and PCF drivers if the charmap */
|
||||
/* is neither Unicode nor ISO-8859-1 (otherwise it is set to */
|
||||
/* FT_ENCODING_UNICODE). Use @FT_Get_BDF_Charset_ID to find out which */
|
||||
/* encoding is really present. If, for example, the `cs_registry' */
|
||||
/* field is `KOI8' and the `cs_encoding' field is `R', the font is */
|
||||
/* encoded in KOI8-R. */
|
||||
/* FT_ENCODING_NONE is set by the BDF and PCF drivers if the charmap */
|
||||
/* is neither Unicode nor ISO-8859-1 (otherwise it is set to */
|
||||
/* FT_ENCODING_UNICODE). Use @FT_Get_BDF_Charset_ID to find out */
|
||||
/* which encoding is really present. If, for example, the */
|
||||
/* `cs_registry' field is `KOI8' and the `cs_encoding' field is `R', */
|
||||
/* the font is encoded in KOI8-R. */
|
||||
/* */
|
||||
/* FT_ENCODING_NONE is always set (with a single exception) by the */
|
||||
/* winfonts driver. Use @FT_Get_WinFNT_Header and examine the */
|
||||
/* `charset' field of the @FT_WinFNT_HeaderRec structure to find out */
|
||||
/* which encoding is really present. For example, */
|
||||
/* @FT_WinFNT_ID_CP1251 (204) means Windows code page 1251 (for */
|
||||
/* Russian). */
|
||||
/* FT_ENCODING_NONE is always set (with a single exception) by the */
|
||||
/* winfonts driver. Use @FT_Get_WinFNT_Header and examine the */
|
||||
/* `charset' field of the @FT_WinFNT_HeaderRec structure to find out */
|
||||
/* which encoding is really present. For example, */
|
||||
/* @FT_WinFNT_ID_CP1251 (204) means Windows code page 1251 (for */
|
||||
/* Russian). */
|
||||
/* */
|
||||
/* FT_ENCODING_NONE is set if `platform_id' is @TT_PLATFORM_MACINTOSH */
|
||||
/* and `encoding_id' is not @TT_MAC_ID_ROMAN (otherwise it is set to */
|
||||
/* FT_ENCODING_APPLE_ROMAN). */
|
||||
/* FT_ENCODING_NONE is set if `platform_id' is @TT_PLATFORM_MACINTOSH */
|
||||
/* and `encoding_id' is not @TT_MAC_ID_ROMAN (otherwise it is set to */
|
||||
/* FT_ENCODING_APPLE_ROMAN). */
|
||||
/* */
|
||||
/* If `platform_id' is @TT_PLATFORM_MACINTOSH, use the function */
|
||||
/* @FT_Get_CMap_Language_ID to query the Mac language ID which may be */
|
||||
/* needed to be able to distinguish Apple encoding variants. See */
|
||||
/* If `platform_id' is @TT_PLATFORM_MACINTOSH, use the function */
|
||||
/* @FT_Get_CMap_Language_ID to query the Mac language ID which may */
|
||||
/* be needed to be able to distinguish Apple encoding variants. See */
|
||||
/* */
|
||||
/* http://www.unicode.org/Public/MAPPINGS/VENDORS/APPLE/README.TXT */
|
||||
/* http://www.unicode.org/Public/MAPPINGS/VENDORS/APPLE/README.TXT */
|
||||
/* */
|
||||
/* to get an idea how to do that. Basically, if the language ID is~0, */
|
||||
/* don't use it, otherwise subtract 1 from the language ID. Then */
|
||||
/* examine `encoding_id'. If, for example, `encoding_id' is */
|
||||
/* @TT_MAC_ID_ROMAN and the language ID (minus~1) is */
|
||||
/* `TT_MAC_LANGID_GREEK', it is the Greek encoding, not Roman. */
|
||||
/* @TT_MAC_ID_ARABIC with `TT_MAC_LANGID_FARSI' means the Farsi */
|
||||
/* variant the Arabic encoding. */
|
||||
/* to get an idea how to do that. Basically, if the language ID */
|
||||
/* is~0, don't use it, otherwise subtract 1 from the language ID. */
|
||||
/* Then examine `encoding_id'. If, for example, `encoding_id' is */
|
||||
/* @TT_MAC_ID_ROMAN and the language ID (minus~1) is */
|
||||
/* `TT_MAC_LANGID_GREEK', it is the Greek encoding, not Roman. */
|
||||
/* @TT_MAC_ID_ARABIC with `TT_MAC_LANGID_FARSI' means the Farsi */
|
||||
/* variant the Arabic encoding. */
|
||||
/* */
|
||||
typedef enum FT_Encoding_
|
||||
{
|
||||
@@ -907,8 +899,8 @@ FT_BEGIN_HEADER
|
||||
/* charmap :: The current active charmap for this face. */
|
||||
/* */
|
||||
/* <Note> */
|
||||
/* Fields may be changed after a call to @FT_Attach_File or */
|
||||
/* @FT_Attach_Stream. */
|
||||
/* Fields may be changed after a call to @FT_Attach_File or */
|
||||
/* @FT_Attach_Stream. */
|
||||
/* */
|
||||
typedef struct FT_FaceRec_
|
||||
{
|
||||
@@ -1485,7 +1477,7 @@ FT_BEGIN_HEADER
|
||||
/* Only relevant for outline glyphs. */
|
||||
/* */
|
||||
/* advance :: This is the transformed advance width for the */
|
||||
/* glyph. */
|
||||
/* glyph (in 26.6 fractional pixel format). */
|
||||
/* */
|
||||
/* format :: This field indicates the format of the image */
|
||||
/* contained in the glyph slot. Typically */
|
||||
@@ -1692,26 +1684,26 @@ FT_BEGIN_HEADER
|
||||
/* @FT_Open_Args structure. */
|
||||
/* */
|
||||
/* <Values> */
|
||||
/* FT_OPEN_MEMORY :: This is a memory-based stream. */
|
||||
/* FT_OPEN_MEMORY :: This is a memory-based stream. */
|
||||
/* */
|
||||
/* FT_OPEN_STREAM :: Copy the stream from the `stream' field. */
|
||||
/* FT_OPEN_STREAM :: Copy the stream from the `stream' field. */
|
||||
/* */
|
||||
/* FT_OPEN_PATHNAME :: Create a new input stream from a C~path */
|
||||
/* name. */
|
||||
/* FT_OPEN_PATHNAME :: Create a new input stream from a C~path */
|
||||
/* name. */
|
||||
/* */
|
||||
/* FT_OPEN_DRIVER :: Use the `driver' field. */
|
||||
/* FT_OPEN_DRIVER :: Use the `driver' field. */
|
||||
/* */
|
||||
/* FT_OPEN_PARAMS :: Use the `num_params' and `params' fields. */
|
||||
/* FT_OPEN_PARAMS :: Use the `num_params' and `params' fields. */
|
||||
/* */
|
||||
/* ft_open_memory :: Deprecated; use @FT_OPEN_MEMORY instead. */
|
||||
/* ft_open_memory :: Deprecated; use @FT_OPEN_MEMORY instead. */
|
||||
/* */
|
||||
/* ft_open_stream :: Deprecated; use @FT_OPEN_STREAM instead. */
|
||||
/* ft_open_stream :: Deprecated; use @FT_OPEN_STREAM instead. */
|
||||
/* */
|
||||
/* ft_open_pathname :: Deprecated; use @FT_OPEN_PATHNAME instead. */
|
||||
/* ft_open_pathname :: Deprecated; use @FT_OPEN_PATHNAME instead. */
|
||||
/* */
|
||||
/* ft_open_driver :: Deprecated; use @FT_OPEN_DRIVER instead. */
|
||||
/* ft_open_driver :: Deprecated; use @FT_OPEN_DRIVER instead. */
|
||||
/* */
|
||||
/* ft_open_params :: Deprecated; use @FT_OPEN_PARAMS instead. */
|
||||
/* ft_open_params :: Deprecated; use @FT_OPEN_PARAMS instead. */
|
||||
/* */
|
||||
/* <Note> */
|
||||
/* The `FT_OPEN_MEMORY', `FT_OPEN_STREAM', and `FT_OPEN_PATHNAME' */
|
||||
@@ -1736,8 +1728,8 @@ FT_BEGIN_HEADER
|
||||
/* FT_Parameter */
|
||||
/* */
|
||||
/* <Description> */
|
||||
/* A simple structure used to pass more or less generic parameters */
|
||||
/* to @FT_Open_Face. */
|
||||
/* A simple structure used to pass more or less generic parameters to */
|
||||
/* @FT_Open_Face. */
|
||||
/* */
|
||||
/* <Fields> */
|
||||
/* tag :: A four-byte identification tag. */
|
||||
@@ -2128,8 +2120,8 @@ FT_BEGIN_HEADER
|
||||
/* value. */
|
||||
/* */
|
||||
/* <Note> */
|
||||
/* If `width' is zero, then the horizontal scaling value is set */
|
||||
/* equal to the vertical scaling value, and vice versa. */
|
||||
/* If `width' is zero, then the horizontal scaling value is set equal */
|
||||
/* to the vertical scaling value, and vice versa. */
|
||||
/* */
|
||||
typedef struct FT_Size_RequestRec_
|
||||
{
|
||||
@@ -2456,6 +2448,7 @@ FT_BEGIN_HEADER
|
||||
*
|
||||
* Besides deciding which hinter to use, you can also decide which
|
||||
* hinting algorithm to use. See @FT_LOAD_TARGET_XXX for details.
|
||||
*
|
||||
*/
|
||||
#define FT_LOAD_DEFAULT 0x0
|
||||
#define FT_LOAD_NO_SCALE 0x1
|
||||
@@ -2542,15 +2535,15 @@ FT_BEGIN_HEADER
|
||||
*
|
||||
* FT_Render_Glyph( face->glyph, FT_RENDER_MODE_LCD );
|
||||
* }
|
||||
*
|
||||
*/
|
||||
#define FT_LOAD_TARGET_( x ) ( (FT_Int32)( (x) & 15 ) << 16 )
|
||||
|
||||
#define FT_LOAD_TARGET_( x ) ( (FT_Int32)( (x) & 15 ) << 16 )
|
||||
|
||||
#define FT_LOAD_TARGET_NORMAL FT_LOAD_TARGET_( FT_RENDER_MODE_NORMAL )
|
||||
#define FT_LOAD_TARGET_LIGHT FT_LOAD_TARGET_( FT_RENDER_MODE_LIGHT )
|
||||
#define FT_LOAD_TARGET_MONO FT_LOAD_TARGET_( FT_RENDER_MODE_MONO )
|
||||
#define FT_LOAD_TARGET_LCD FT_LOAD_TARGET_( FT_RENDER_MODE_LCD )
|
||||
#define FT_LOAD_TARGET_LCD_V FT_LOAD_TARGET_( FT_RENDER_MODE_LCD_V )
|
||||
#define FT_LOAD_TARGET_NORMAL FT_LOAD_TARGET_( FT_RENDER_MODE_NORMAL )
|
||||
#define FT_LOAD_TARGET_LIGHT FT_LOAD_TARGET_( FT_RENDER_MODE_LIGHT )
|
||||
#define FT_LOAD_TARGET_MONO FT_LOAD_TARGET_( FT_RENDER_MODE_MONO )
|
||||
#define FT_LOAD_TARGET_LCD FT_LOAD_TARGET_( FT_RENDER_MODE_LCD )
|
||||
#define FT_LOAD_TARGET_LCD_V FT_LOAD_TARGET_( FT_RENDER_MODE_LCD_V )
|
||||
|
||||
|
||||
/**************************************************************************
|
||||
@@ -2563,7 +2556,6 @@ FT_BEGIN_HEADER
|
||||
* @FT_LOAD_TARGET_XXX value.
|
||||
*
|
||||
*/
|
||||
|
||||
#define FT_LOAD_TARGET_MODE( x ) ( (FT_Render_Mode)( ( (x) >> 16 ) & 15 ) )
|
||||
|
||||
|
||||
@@ -2611,9 +2603,9 @@ FT_BEGIN_HEADER
|
||||
/* FreeType~2. Each mode corresponds to a specific type of scanline */
|
||||
/* conversion performed on the outline. */
|
||||
/* */
|
||||
/* For bitmap fonts the `bitmap->pixel_mode' field in the */
|
||||
/* @FT_GlyphSlotRec structure gives the format of the returned */
|
||||
/* bitmap. */
|
||||
/* For bitmap fonts and embedded bitmaps the `bitmap->pixel_mode' */
|
||||
/* field in the @FT_GlyphSlotRec structure gives the format of the */
|
||||
/* returned bitmap. */
|
||||
/* */
|
||||
/* All modes except @FT_RENDER_MODE_MONO use 256 levels of opacity. */
|
||||
/* */
|
||||
@@ -2634,7 +2626,7 @@ FT_BEGIN_HEADER
|
||||
/* */
|
||||
/* FT_RENDER_MODE_LCD :: */
|
||||
/* This mode corresponds to horizontal RGB and BGR sub-pixel */
|
||||
/* displays, like LCD-screens. It produces 8-bit bitmaps that are */
|
||||
/* displays like LCD screens. It produces 8-bit bitmaps that are */
|
||||
/* 3~times the width of the original glyph outline in pixels, and */
|
||||
/* which use the @FT_PIXEL_MODE_LCD mode. */
|
||||
/* */
|
||||
@@ -2645,11 +2637,16 @@ FT_BEGIN_HEADER
|
||||
/* glyph outline in pixels and use the @FT_PIXEL_MODE_LCD_V mode. */
|
||||
/* */
|
||||
/* <Note> */
|
||||
/* The LCD-optimized glyph bitmaps produced by FT_Render_Glyph can be */
|
||||
/* filtered to reduce color-fringes by using @FT_Library_SetLcdFilter */
|
||||
/* (not active in the default builds). It is up to the caller to */
|
||||
/* either call @FT_Library_SetLcdFilter (if available) or do the */
|
||||
/* filtering itself. */
|
||||
/* The LCD-optimized glyph bitmaps produced by FT_Render_Glyph can be */
|
||||
/* filtered to reduce color-fringes by using @FT_Library_SetLcdFilter */
|
||||
/* (not active in the default builds). It is up to the caller to */
|
||||
/* either call @FT_Library_SetLcdFilter (if available) or do the */
|
||||
/* filtering itself. */
|
||||
/* */
|
||||
/* The selected render mode only affects vector glyphs of a font. */
|
||||
/* Embedded bitmaps often have a different pixel mode like */
|
||||
/* @FT_PIXEL_MODE_MONO. You can use @FT_Bitmap_Convert to transform */
|
||||
/* them into 8-bit pixmaps. */
|
||||
/* */
|
||||
typedef enum FT_Render_Mode_
|
||||
{
|
||||
@@ -2674,8 +2671,8 @@ FT_BEGIN_HEADER
|
||||
/* @FT_Render_Mode values instead. */
|
||||
/* */
|
||||
/* <Values> */
|
||||
/* ft_render_mode_normal :: see @FT_RENDER_MODE_NORMAL */
|
||||
/* ft_render_mode_mono :: see @FT_RENDER_MODE_MONO */
|
||||
/* ft_render_mode_normal :: see @FT_RENDER_MODE_NORMAL */
|
||||
/* ft_render_mode_mono :: see @FT_RENDER_MODE_MONO */
|
||||
/* */
|
||||
#define ft_render_mode_normal FT_RENDER_MODE_NORMAL
|
||||
#define ft_render_mode_mono FT_RENDER_MODE_MONO
|
||||
@@ -2822,14 +2819,14 @@ FT_BEGIN_HEADER
|
||||
/* Return the track kerning for a given face object at a given size. */
|
||||
/* */
|
||||
/* <Input> */
|
||||
/* face :: A handle to a source face object. */
|
||||
/* face :: A handle to a source face object. */
|
||||
/* */
|
||||
/* point_size :: The point size in 16.16 fractional points. */
|
||||
/* point_size :: The point size in 16.16 fractional points. */
|
||||
/* */
|
||||
/* degree :: The degree of tightness. */
|
||||
/* degree :: The degree of tightness. */
|
||||
/* */
|
||||
/* <Output> */
|
||||
/* akerning :: The kerning in 16.16 fractional points. */
|
||||
/* akerning :: The kerning in 16.16 fractional points. */
|
||||
/* */
|
||||
/* <Return> */
|
||||
/* FreeType error code. 0~means success. */
|
||||
@@ -3060,7 +3057,7 @@ FT_BEGIN_HEADER
|
||||
/* */
|
||||
/* Note that `*agindex' is set to~0 if the charmap is empty. The */
|
||||
/* result itself can be~0 in two cases: if the charmap is empty or */
|
||||
/* when the value~0 is the first valid character code. */
|
||||
/* if the value~0 is the first valid character code. */
|
||||
/* */
|
||||
FT_EXPORT( FT_ULong )
|
||||
FT_Get_First_Char( FT_Face face,
|
||||
@@ -3082,7 +3079,7 @@ FT_BEGIN_HEADER
|
||||
/* char_code :: The starting character code. */
|
||||
/* */
|
||||
/* <Output> */
|
||||
/* agindex :: Glyph index of first character code. 0~if charmap */
|
||||
/* agindex :: Glyph index of next character code. 0~if charmap */
|
||||
/* is empty. */
|
||||
/* */
|
||||
/* <Return> */
|
||||
@@ -3159,15 +3156,16 @@ FT_BEGIN_HEADER
|
||||
*
|
||||
* @description:
|
||||
* Retrieve a description of a given subglyph. Only use it if
|
||||
* `glyph->format' is @FT_GLYPH_FORMAT_COMPOSITE, or an error is
|
||||
* returned.
|
||||
* `glyph->format' is @FT_GLYPH_FORMAT_COMPOSITE; an error is
|
||||
* returned otherwise.
|
||||
*
|
||||
* @input:
|
||||
* glyph ::
|
||||
* The source glyph slot.
|
||||
*
|
||||
* sub_index ::
|
||||
* The index of subglyph. Must be less than `glyph->num_subglyphs'.
|
||||
* The index of the subglyph. Must be less than
|
||||
* `glyph->num_subglyphs'.
|
||||
*
|
||||
* @output:
|
||||
* p_index ::
|
||||
@@ -3739,26 +3737,27 @@ FT_BEGIN_HEADER
|
||||
|
||||
/*************************************************************************
|
||||
*
|
||||
* @enum:
|
||||
* FREETYPE_XXX
|
||||
* @enum:
|
||||
* FREETYPE_XXX
|
||||
*
|
||||
* @description:
|
||||
* These three macros identify the FreeType source code version.
|
||||
* Use @FT_Library_Version to access them at runtime.
|
||||
* @description:
|
||||
* These three macros identify the FreeType source code version.
|
||||
* Use @FT_Library_Version to access them at runtime.
|
||||
*
|
||||
* @values:
|
||||
* FREETYPE_MAJOR :: The major version number.
|
||||
* FREETYPE_MINOR :: The minor version number.
|
||||
* FREETYPE_PATCH :: The patch level.
|
||||
* @values:
|
||||
* FREETYPE_MAJOR :: The major version number.
|
||||
* FREETYPE_MINOR :: The minor version number.
|
||||
* FREETYPE_PATCH :: The patch level.
|
||||
*
|
||||
* @note:
|
||||
* The version number of FreeType if built as a dynamic link library
|
||||
* with the `libtool' package is _not_ controlled by these three
|
||||
* macros.
|
||||
*
|
||||
* @note:
|
||||
* The version number of FreeType if built as a dynamic link library
|
||||
* with the `libtool' package is _not_ controlled by these three
|
||||
* macros.
|
||||
*/
|
||||
#define FREETYPE_MAJOR 2
|
||||
#define FREETYPE_MINOR 3
|
||||
#define FREETYPE_PATCH 8
|
||||
#define FREETYPE_PATCH 9
|
||||
|
||||
|
||||
/*************************************************************************/
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/* */
|
||||
/* FreeType API for accessing CID font information (specification). */
|
||||
/* */
|
||||
/* Copyright 2007 by Dereg Clegg. */
|
||||
/* Copyright 2007, 2009 by Dereg Clegg, Michael Toftdal. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
/* modified, and distributed under the terms of the FreeType project */
|
||||
@@ -88,6 +88,74 @@ FT_BEGIN_HEADER
|
||||
const char* *ordering,
|
||||
FT_Int *supplement);
|
||||
|
||||
|
||||
/**********************************************************************
|
||||
*
|
||||
* @function:
|
||||
* FT_Get_CID_Is_Internally_CID_Keyed
|
||||
*
|
||||
* @description:
|
||||
* Retrieve the type of the input face, CID keyed or not. In
|
||||
* constrast to the @FT_IS_CID_KEYED macro this function returns
|
||||
* successfully also for CID-keyed fonts in an SNFT wrapper.
|
||||
*
|
||||
* @input:
|
||||
* face ::
|
||||
* A handle to the input face.
|
||||
*
|
||||
* @output:
|
||||
* is_cid ::
|
||||
* The type of the face as an @FT_Bool.
|
||||
*
|
||||
* @return:
|
||||
* FreeType error code. 0~means success.
|
||||
*
|
||||
* @note:
|
||||
* This function only works with CID faces and OpenType fonts,
|
||||
* returning an error otherwise.
|
||||
*
|
||||
* @since:
|
||||
* 2.3.9
|
||||
*/
|
||||
FT_EXPORT( FT_Error )
|
||||
FT_Get_CID_Is_Internally_CID_Keyed( FT_Face face,
|
||||
FT_Bool *is_cid );
|
||||
|
||||
|
||||
/**********************************************************************
|
||||
*
|
||||
* @function:
|
||||
* FT_Get_CID_From_Glyph_Index
|
||||
*
|
||||
* @description:
|
||||
* Retrieve the CID of the input glyph index.
|
||||
*
|
||||
* @input:
|
||||
* face ::
|
||||
* A handle to the input face.
|
||||
*
|
||||
* glyph_index ::
|
||||
* The input glyph index.
|
||||
*
|
||||
* @output:
|
||||
* cid ::
|
||||
* The CID as an @FT_UInt.
|
||||
*
|
||||
* @return:
|
||||
* FreeType error code. 0~means success.
|
||||
*
|
||||
* @note:
|
||||
* This function only works with CID faces and OpenType fonts,
|
||||
* returning an error otherwise.
|
||||
*
|
||||
* @since:
|
||||
* 2.3.9
|
||||
*/
|
||||
FT_EXPORT( FT_Error )
|
||||
FT_Get_CID_From_Glyph_Index( FT_Face face,
|
||||
FT_UInt glyph_index,
|
||||
FT_UInt *cid );
|
||||
|
||||
/* */
|
||||
|
||||
FT_END_HEADER
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/* */
|
||||
/* FreeType convenience functions to handle glyphs (specification). */
|
||||
/* */
|
||||
/* Copyright 1996-2001, 2002, 2003, 2006, 2008 by */
|
||||
/* Copyright 1996-2001, 2002, 2003, 2006, 2008, 2009 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
@@ -194,7 +194,7 @@ FT_BEGIN_HEADER
|
||||
/* outline :: A descriptor for the outline. */
|
||||
/* */
|
||||
/* <Note> */
|
||||
/* You can typecast a @FT_Glyph to @FT_OutlineGlyph if you have */
|
||||
/* You can typecast an @FT_Glyph to @FT_OutlineGlyph if you have */
|
||||
/* `glyph->format == FT_GLYPH_FORMAT_OUTLINE'. This lets you access */
|
||||
/* the outline's content easily. */
|
||||
/* */
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/* */
|
||||
/* FreeType Multiple Master font interface (specification). */
|
||||
/* */
|
||||
/* Copyright 1996-2001, 2003, 2004, 2006 by */
|
||||
/* Copyright 1996-2001, 2003, 2004, 2006, 2009 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
@@ -257,7 +257,7 @@ FT_BEGIN_HEADER
|
||||
/* face :: A handle to the source face. */
|
||||
/* */
|
||||
/* <Output> */
|
||||
/* amaster :: The Multiple Masters descriptor. */
|
||||
/* amaster :: The Multiple Masters/GX var descriptor. */
|
||||
/* Allocates a data structure, which the user must free */
|
||||
/* (a single call to FT_FREE will do it). */
|
||||
/* */
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/* Support for the FT_Outline type used to store glyph shapes of */
|
||||
/* most scalable font formats (specification). */
|
||||
/* */
|
||||
/* Copyright 1996-2001, 2002, 2003, 2005, 2006, 2007, 2008 by */
|
||||
/* Copyright 1996-2001, 2002, 2003, 2005, 2006, 2007, 2008, 2009 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
@@ -130,8 +130,7 @@ FT_BEGIN_HEADER
|
||||
/* numContours :: The maximal number of contours within the outline. */
|
||||
/* */
|
||||
/* <Output> */
|
||||
/* anoutline :: A handle to the new outline. NULL in case of */
|
||||
/* error. */
|
||||
/* anoutline :: A handle to the new outline. */
|
||||
/* */
|
||||
/* <Return> */
|
||||
/* FreeType error code. 0~means success. */
|
||||
@@ -362,7 +361,7 @@ FT_BEGIN_HEADER
|
||||
/* outline :: A pointer to the target outline descriptor. */
|
||||
/* */
|
||||
/* <Note> */
|
||||
/* This functions toggles the bit flag @FT_OUTLINE_REVERSE_FILL in */
|
||||
/* This function toggles the bit flag @FT_OUTLINE_REVERSE_FILL in */
|
||||
/* the outline's `flags' field. */
|
||||
/* */
|
||||
/* It shouldn't be used by a normal client application, unless it */
|
||||
@@ -416,7 +415,7 @@ FT_BEGIN_HEADER
|
||||
/* */
|
||||
/* <Description> */
|
||||
/* Render an outline within a bitmap using the current scan-convert. */
|
||||
/* This functions uses an @FT_Raster_Params structure as an argument, */
|
||||
/* This function uses an @FT_Raster_Params structure as an argument, */
|
||||
/* allowing advanced features like direct composition, translucency, */
|
||||
/* etc. */
|
||||
/* */
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/* */
|
||||
/* FreeType API for accessing PFR-specific data (specification only). */
|
||||
/* */
|
||||
/* Copyright 2002, 2003, 2004, 2006, 2008 by */
|
||||
/* Copyright 2002, 2003, 2004, 2006, 2008, 2009 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
@@ -62,8 +62,8 @@ FT_BEGIN_HEADER
|
||||
*
|
||||
* @output:
|
||||
* aoutline_resolution ::
|
||||
* Outline resolution. This is equivalent to `face->units_per_EM'.
|
||||
* Optional (parameter can be NULL).
|
||||
* Outline resolution. This is equivalent to `face->units_per_EM'
|
||||
* for non-PFR fonts. Optional (parameter can be NULL).
|
||||
*
|
||||
* ametrics_resolution ::
|
||||
* Metrics resolution. This is equivalent to `outline_resolution'
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/* */
|
||||
/* FreeType size objects management (specification). */
|
||||
/* */
|
||||
/* Copyright 1996-2001, 2003, 2004, 2006 by */
|
||||
/* Copyright 1996-2001, 2003, 2004, 2006, 2009 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
@@ -129,8 +129,8 @@ FT_BEGIN_HEADER
|
||||
/* <Description> */
|
||||
/* Even though it is possible to create several size objects for a */
|
||||
/* given face (see @FT_New_Size for details), functions like */
|
||||
/* @FT_Load_Glyph or @FT_Load_Char only use the last-created one to */
|
||||
/* determine the `current character pixel size'. */
|
||||
/* @FT_Load_Glyph or @FT_Load_Char only use the one which has been */
|
||||
/* activated last to determine the `current character pixel size'. */
|
||||
/* */
|
||||
/* This function can be used to `activate' a previously created size */
|
||||
/* object. */
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/* */
|
||||
/* FreeType path stroker (specification). */
|
||||
/* */
|
||||
/* Copyright 2002, 2003, 2004, 2005, 2006, 2008 by */
|
||||
/* Copyright 2002, 2003, 2004, 2005, 2006, 2008, 2009 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
@@ -171,7 +171,7 @@ FT_BEGIN_HEADER
|
||||
* The source outline handle.
|
||||
*
|
||||
* @return:
|
||||
* The border index. @FT_STROKER_BORDER_LEFT for empty or invalid
|
||||
* The border index. @FT_STROKER_BORDER_RIGHT for empty or invalid
|
||||
* outlines.
|
||||
*/
|
||||
FT_EXPORT( FT_StrokerBorder )
|
||||
|
||||
@@ -197,6 +197,7 @@ FT_BEGIN_HEADER
|
||||
{
|
||||
T1_FIELD_LOCATION_CID_INFO,
|
||||
T1_FIELD_LOCATION_FONT_DICT,
|
||||
T1_FIELD_LOCATION_FONT_EXTRA,
|
||||
T1_FIELD_LOCATION_FONT_INFO,
|
||||
T1_FIELD_LOCATION_PRIVATE,
|
||||
T1_FIELD_LOCATION_BBOX,
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/* */
|
||||
/* The FreeType CID font services (specification). */
|
||||
/* */
|
||||
/* Copyright 2007 by Derek Clegg. */
|
||||
/* Copyright 2007, 2009 by Derek Clegg, Michael Toftdal. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
/* modified, and distributed under the terms of the FreeType project */
|
||||
@@ -31,10 +31,19 @@ FT_BEGIN_HEADER
|
||||
const char* *registry,
|
||||
const char* *ordering,
|
||||
FT_Int *supplement );
|
||||
typedef FT_Error
|
||||
(*FT_CID_GetIsInternallyCIDKeyedFunc)( FT_Face face,
|
||||
FT_Bool *is_cid );
|
||||
typedef FT_Error
|
||||
(*FT_CID_GetCIDFromGlyphIndexFunc)( FT_Face face,
|
||||
FT_UInt glyph_index,
|
||||
FT_UInt *cid );
|
||||
|
||||
FT_DEFINE_SERVICE( CID )
|
||||
{
|
||||
FT_CID_GetRegistryOrderingSupplementFunc get_ros;
|
||||
FT_CID_GetIsInternallyCIDKeyedFunc get_is_cid;
|
||||
FT_CID_GetCIDFromGlyphIndexFunc get_cid_from_glyph_index;
|
||||
};
|
||||
|
||||
/* */
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/* */
|
||||
/* The FreeType PostScript info service (specification). */
|
||||
/* */
|
||||
/* Copyright 2003, 2004 by */
|
||||
/* Copyright 2003, 2004, 2009 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
@@ -33,6 +33,10 @@ FT_BEGIN_HEADER
|
||||
(*PS_GetFontInfoFunc)( FT_Face face,
|
||||
PS_FontInfoRec* afont_info );
|
||||
|
||||
typedef FT_Error
|
||||
(*PS_GetFontExtraFunc)( FT_Face face,
|
||||
PS_FontExtraRec* afont_extra );
|
||||
|
||||
typedef FT_Int
|
||||
(*PS_HasGlyphNamesFunc)( FT_Face face );
|
||||
|
||||
@@ -44,6 +48,7 @@ FT_BEGIN_HEADER
|
||||
FT_DEFINE_SERVICE( PsInfo )
|
||||
{
|
||||
PS_GetFontInfoFunc ps_get_font_info;
|
||||
PS_GetFontExtraFunc ps_get_font_extra;
|
||||
PS_HasGlyphNamesFunc ps_has_glyph_names;
|
||||
PS_GetFontPrivateFunc ps_get_font_private;
|
||||
};
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/* Basic Type1/Type2 type definitions and interface (specification */
|
||||
/* only). */
|
||||
/* */
|
||||
/* Copyright 1996-2001, 2002, 2003, 2004, 2006, 2008 by */
|
||||
/* Copyright 1996-2001, 2002, 2003, 2004, 2006, 2008, 2009 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
@@ -87,11 +87,24 @@ FT_BEGIN_HEADER
|
||||
} T1_EncodingType;
|
||||
|
||||
|
||||
/* used to hold extra data of PS_FontInfoRec that
|
||||
* cannot be stored in the publicly defined structure.
|
||||
*
|
||||
* Note these can't be blended with multiple-masters.
|
||||
*/
|
||||
typedef struct PS_FontExtraRec_
|
||||
{
|
||||
FT_UShort fs_type;
|
||||
|
||||
} PS_FontExtraRec;
|
||||
|
||||
|
||||
typedef struct T1_FontRec_
|
||||
{
|
||||
PS_FontInfoRec font_info; /* font info dictionary */
|
||||
PS_PrivateRec private_dict; /* private dictionary */
|
||||
FT_String* font_name; /* top-level dictionary */
|
||||
PS_FontInfoRec font_info; /* font info dictionary */
|
||||
PS_FontExtraRec font_extra; /* font info extra fields */
|
||||
PS_PrivateRec private_dict; /* private dictionary */
|
||||
FT_String* font_name; /* top-level dictionary */
|
||||
|
||||
T1_EncodingType encoding_type;
|
||||
T1_EncodingRec encoding;
|
||||
@@ -231,6 +244,7 @@ FT_BEGIN_HEADER
|
||||
void* psnames;
|
||||
void* psaux;
|
||||
CID_FaceInfoRec cid;
|
||||
PS_FontExtraRec font_extra;
|
||||
#if 0
|
||||
void* afm_data;
|
||||
#endif
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/* Basic Type 1/Type 2 tables definitions and interface (specification */
|
||||
/* only). */
|
||||
/* */
|
||||
/* Copyright 1996-2001, 2002, 2003, 2004, 2006, 2008 by */
|
||||
/* Copyright 1996-2001, 2002, 2003, 2004, 2006, 2008, 2009 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
@@ -78,10 +78,6 @@ FT_BEGIN_HEADER
|
||||
FT_Short underline_position;
|
||||
FT_UShort underline_thickness;
|
||||
|
||||
/* since 2.3.8 */
|
||||
|
||||
FT_UShort fs_type;
|
||||
|
||||
} PS_FontInfoRec;
|
||||
|
||||
|
||||
@@ -486,11 +482,11 @@ FT_BEGIN_HEADER
|
||||
* FreeType error code. 0~means success.
|
||||
*
|
||||
* @note:
|
||||
* The string pointers within the font info structure are owned by
|
||||
* The string pointers within the @PS_PrivateRec structure are owned by
|
||||
* the face and don't need to be freed by the caller.
|
||||
*
|
||||
* If the font's format is not PostScript-based, this function will
|
||||
* return the `FT_Err_Invalid_Argument' error code.
|
||||
* If the font's format is not PostScript-based, this function returns
|
||||
* the `FT_Err_Invalid_Argument' error code.
|
||||
*
|
||||
*/
|
||||
FT_EXPORT( FT_Error )
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/* Basic SFNT/TrueType tables definitions and interface */
|
||||
/* (specification only). */
|
||||
/* */
|
||||
/* Copyright 1996-2001, 2002, 2003, 2004, 2005, 2008 by */
|
||||
/* Copyright 1996-2001, 2002, 2003, 2004, 2005, 2008, 2009 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
@@ -695,7 +695,7 @@ FT_BEGIN_HEADER
|
||||
* FreeType error code. 0~means success.
|
||||
*
|
||||
* @note:
|
||||
* SFNT tables with length zero are treated as missing by Windows.
|
||||
* SFNT tables with length zero are treated as missing.
|
||||
*
|
||||
*/
|
||||
FT_EXPORT( FT_Error )
|
||||
|
||||
Reference in New Issue
Block a user