About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

fttypes.h File Reference
#include <ft2build.h>
#include <freetype/ftsystem.h>
#include <freetype/ftimage.h>
#include <stddef.h>
Include dependency graph for fttypes.h:

Go to the source code of this file.


struct  FT_UnitVector_
struct  FT_Matrix_
struct  FT_Data_
struct  FT_Generic_
struct  FT_ListNodeRec_
struct  FT_ListRec_


#define FT_MAKE_TAG(_x1, _x2, _x3, _x4)
#define FT_IS_EMPTY(list)   ( (list).head == 0 )
#define FT_BOOL(x)   ( (FT_Bool)( (x) != 0 ) )
#define FT_ERR_XCAT(x, y)   x ## y
#define FT_ERR_CAT(x, y)   FT_ERR_XCAT( x, y )
#define FT_ERR(e)   FT_ERR_CAT( FT_ERR_PREFIX, e )
#define FT_ERROR_BASE(x)   ( (x) & 0xFF )
#define FT_ERROR_MODULE(x)   ( (x) & 0xFF00U )
#define FT_ERR_EQ(x, e)    ( FT_ERROR_BASE( x ) == FT_ERROR_BASE( FT_ERR( e ) ) )
#define FT_ERR_NEQ(x, e)    ( FT_ERROR_BASE( x ) != FT_ERROR_BASE( FT_ERR( e ) ) )


typedef signed short FT_FWord
typedef unsigned short FT_UFWord
typedef signed char FT_Char
typedef unsigned char FT_Byte
typedef const FT_ByteFT_Bytes
typedef FT_UInt32 FT_Tag
typedef char FT_String
typedef signed short FT_Short
typedef unsigned short FT_UShort
typedef signed int FT_Int
typedef unsigned int FT_UInt
typedef signed long FT_Long
typedef unsigned long FT_ULong
typedef signed short FT_F2Dot14
typedef signed long FT_F26Dot6
typedef signed long FT_Fixed
typedef int FT_Error
typedef voidFT_Pointer
typedef size_t FT_Offset
typedef ft_ptrdiff_t FT_PtrDist
typedef struct FT_UnitVector_ FT_UnitVector
typedef struct FT_Matrix_ FT_Matrix
typedef struct FT_Data_ FT_Data
typedef void(* FT_Generic_Finalizer) (void *object)
typedef struct FT_Generic_ FT_Generic
typedef struct FT_ListNodeRec_FT_ListNode
typedef struct FT_ListRec_FT_List
typedef struct FT_ListNodeRec_ FT_ListNodeRec
typedef struct FT_ListRec_ FT_ListRec


FT_BEGIN_HEADER typedef unsigned char FT_Bool

Macro Definition Documentation


#define FT_BOOL (   x)    ( (FT_Bool)( (x) != 0 ) )

Definition at line 591 of file fttypes.h.


#define FT_ERR (   e)    FT_ERR_CAT( FT_ERR_PREFIX, e )

Definition at line 599 of file fttypes.h.


#define FT_ERR_CAT (   x,
)    FT_ERR_XCAT( x, y )

Definition at line 595 of file fttypes.h.


#define FT_ERR_EQ (   x,
)     ( FT_ERROR_BASE( x ) == FT_ERROR_BASE( FT_ERR( e ) ) )

Definition at line 604 of file fttypes.h.


#define FT_ERR_NEQ (   x,
)     ( FT_ERROR_BASE( x ) != FT_ERROR_BASE( FT_ERR( e ) ) )

Definition at line 606 of file fttypes.h.


#define FT_ERR_XCAT (   x,
)    x ## y

Definition at line 594 of file fttypes.h.


#define FT_ERROR_BASE (   x)    ( (x) & 0xFF )

Definition at line 601 of file fttypes.h.


#define FT_ERROR_MODULE (   x)    ( (x) & 0xFF00U )

Definition at line 602 of file fttypes.h.


#define FT_IS_EMPTY (   list)    ( (list).head == 0 )

Definition at line 590 of file fttypes.h.


#define FT_MAKE_TAG (   _x1,
(FT_Tag) \
( ( (FT_ULong)_x1 << 24 ) | \
( (FT_ULong)_x2 << 16 ) | \
( (FT_ULong)_x3 << 8 ) | \
(FT_ULong)_x4 )
FT_UInt32 FT_Tag
Definition: fttypes.h:176
unsigned long FT_ULong
Definition: fttypes.h:253

@macro: FT_MAKE_TAG

@description: This macro converts four-letter tags that are used to label TrueType tables into an unsigned long, to be used within FreeType.

: The produced values must be 32-bit integers. Don't redefine this macro.

Definition at line 488 of file fttypes.h.

Typedef Documentation

◆ FT_Byte

typedef unsigned char FT_Byte

@type: FT_Byte

@description: A simple typedef for the unsigned char type.

Definition at line 154 of file fttypes.h.

◆ FT_Bytes

@type: FT_Bytes

@description: A typedef for constant memory areas.

Definition at line 165 of file fttypes.h.

◆ FT_Char

typedef signed char FT_Char

@type: FT_Char

@description: A simple typedef for the signed char type.

Definition at line 143 of file fttypes.h.

◆ FT_Data

typedef struct FT_Data_ FT_Data

◆ FT_Error

typedef int FT_Error

@type: FT_Error

@description: The FreeType error code type. A value of~0 is always interpreted as a successful operation.

Definition at line 299 of file fttypes.h.

◆ FT_F26Dot6

typedef signed long FT_F26Dot6

@type: FT_F26Dot6

@description: A signed 26.6 fixed-point type used for vectorial pixel coordinates.

Definition at line 275 of file fttypes.h.

◆ FT_F2Dot14

typedef signed short FT_F2Dot14

@type: FT_F2Dot14

@description: A signed 2.14 fixed-point type used for unit vectors.

Definition at line 264 of file fttypes.h.

◆ FT_Fixed

typedef signed long FT_Fixed

@type: FT_Fixed

@description: This type is used to store 16.16 fixed-point values, like scaling values or matrix coefficients.

Definition at line 287 of file fttypes.h.

◆ FT_FWord

typedef signed short FT_FWord

@type: FT_FWord

@description: A signed 16-bit integer used to store a distance in original font units.

Definition at line 120 of file fttypes.h.

◆ FT_Generic

typedef struct FT_Generic_ FT_Generic

◆ FT_Generic_Finalizer

typedef void(* FT_Generic_Finalizer) (void *object)

@functype: FT_Generic_Finalizer

@description: Describe a function used to destroy the 'client' data of any FreeType object. See the description of the @FT_Generic type for details of usage.

@input: The address of the FreeType object that is under finalization. Its client data is accessed through its generic field.

Definition at line 435 of file fttypes.h.

◆ FT_Int

typedef signed int FT_Int

@type: FT_Int

@description: A typedef for the int type.

Definition at line 220 of file fttypes.h.

◆ FT_List

typedef struct FT_ListRec_* FT_List

@type: FT_List

@description: A handle to a list record (see @FT_ListRec).

Definition at line 534 of file fttypes.h.

◆ FT_ListNode

typedef struct FT_ListNodeRec_* FT_ListNode

Definition at line 523 of file fttypes.h.

◆ FT_ListNodeRec

◆ FT_ListRec

typedef struct FT_ListRec_ FT_ListRec

◆ FT_Long

typedef signed long FT_Long

@type: FT_Long

@description: A typedef for signed long.

Definition at line 242 of file fttypes.h.

◆ FT_Matrix

typedef struct FT_Matrix_ FT_Matrix

◆ FT_Offset

typedef size_t FT_Offset

@type: FT_Offset

@description: This is equivalent to the ANSI~C size_t type, i.e., the largest unsigned integer type used to express a file size or position, or a memory block size.

Definition at line 323 of file fttypes.h.

◆ FT_Pointer

typedef void* FT_Pointer

@type: FT_Pointer

@description: A simple typedef for a typeless pointer.

Definition at line 310 of file fttypes.h.

◆ FT_PtrDist

@type: FT_PtrDist

@description: This is equivalent to the ANSI~C ptrdiff_t type, i.e., the largest signed integer type used to express the distance between two pointers.

Definition at line 336 of file fttypes.h.

◆ FT_Short

typedef signed short FT_Short

@type: FT_Short

@description: A typedef for signed short.

Definition at line 198 of file fttypes.h.

◆ FT_String

typedef char FT_String

@type: FT_String

@description: A simple typedef for the char type, usually used for strings.

Definition at line 187 of file fttypes.h.

◆ FT_Tag

typedef FT_UInt32 FT_Tag

@type: FT_Tag

@description: A typedef for 32-bit tags (as used in the SFNT format).

Definition at line 176 of file fttypes.h.

◆ FT_UFWord

typedef unsigned short FT_UFWord

@type: FT_UFWord

@description: An unsigned 16-bit integer used to store a distance in original font units.

Definition at line 132 of file fttypes.h.

◆ FT_UInt

typedef unsigned int FT_UInt

@type: FT_UInt

@description: A typedef for the unsigned int type.

Definition at line 231 of file fttypes.h.

◆ FT_ULong

typedef unsigned long FT_ULong

@type: FT_ULong

@description: A typedef for unsigned long.

Definition at line 253 of file fttypes.h.

◆ FT_UnitVector

typedef struct FT_UnitVector_ FT_UnitVector

◆ FT_UShort

typedef unsigned short FT_UShort

@type: FT_UShort

@description: A typedef for unsigned short.

Definition at line 209 of file fttypes.h.

Variable Documentation

◆ FT_Bool

FT_BEGIN_HEADER typedef unsigned char FT_Bool


FreeType simple types definitions (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 this file you indicate that you have read the license and understand and accept it fully.

/dev/shm/warix/file_cache/windows/misc/w32tex-src.tar.xz/ktx/libs/freetype/include/freetype/freetype.h, and /dev/shm/warix/file_cache/windows/misc/w32tex-src.tar.xz/ptx/libs/freetype/include/freetype/freetype.h.

Definition at line 108 of file fttypes.h.

Referenced by af_latin_hint_edges(), af_latin_hints_compute_blue_edges(), af_latin_hints_compute_edges(), af_latin_hints_compute_segments(), af_latin_metrics_check_digits(), af_latin_metrics_init_blues(), af_loader_embolden_glyph_in_slot(), af_property_get(), af_property_set(), BDF_Face_Init(), cf2_blues_capture(), cf2_decoder_parse_charstrings(), cf2_doFlex(), cf2_doStems(), cf2_font_setup(), cf2_getGlyphOutline(), cf2_glyphpath_lineTo(), cf2_glyphpath_pushPrevElem(), cf2_hintmap_adjustHints(), cf2_hintmap_build(), cf2_hintmap_insertHint(), cf2_interpT2CharString(), cff_face_init(), cff_font_load(), cff_parser_run(), cff_slot_load(), cff_subfont_load(), cid_hex_to_binary(), cid_load_glyph(), cid_slot_load_glyph(), compositeGlyph_size(), compute_glyph_metrics(), fnt_font_load(), FNT_Load_Glyph(), FT_Bitmap_Blend(), FT_Face_Properties(), FT_Get_CID_Is_Internally_CID_Keyed(), FT_GlyphLoader_CheckPoints(), FT_Load_Glyph(), ft_open_face_internal(), ft_property_do(), FT_Render_Glyph_Internal(), FT_Stream_ReadFields(), FT_Stroker_ConicTo(), FT_Stroker_CubicTo(), ft_stroker_inside(), ft_stroker_outside(), ftc_basic_gnode_compare_faceid(), FTC_Cache_RemoveFaceID(), ftc_snode_compare(), gxv_feat_name_validate(), gxv_kern_coverage_classic_apple_validate(), gxv_kern_coverage_classic_microsoft_validate(), gxv_kern_coverage_new_apple_validate(), gxv_mort_subtable_type5_entry_validate(), gxv_morx_subtable_type5_entry_validate(), FontEngine::isCIDFont(), load_truetype_glyph(), otv_GDEF_validate(), parse_dict(), parse_encoding(), PCF_Face_Init(), pcf_find_property(), pcf_load_font(), pcf_property_get(), pcf_property_set(), pfr_face_get_kerning(), pfr_header_check(), pfr_lookup_bitmap_data(), pfr_slot_load(), PS_Conv_Strtol(), PS_Conv_ToFixed(), ps_hints_apply(), ps_property_get(), ps_property_set(), ps_tobool(), psh_blues_set_zones_0(), reconstruct_font(), reconstruct_glyf(), reconstruct_hmtx(), remove_subset_prefix(), sfnt_load_face(), t1_decoder_parse_metrics(), T1_Face_Init(), T1_Get_Private_Dict(), T1_Load_Glyph(), T1_Parse_Glyph(), t1_ps_get_font_value(), t1_set_mm_blend(), t42_parse_charstrings(), t42_parse_encoding(), t42_parse_sfnts(), triplet_decode(), tt_check_single_notdef(), tt_check_trickyness_sfnt_ids(), tt_face_get_name(), tt_face_load_font_dir(), tt_face_load_loca(), tt_face_lookup_table(), tt_loader_init(), tt_loader_set_pp(), TT_Process_Composite_Component(), and TT_Process_Simple_Glyph().