zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ttobjs.c File Reference
#include <ft2build.h>
#include <FT_INTERNAL_DEBUG_H>
#include <FT_INTERNAL_STREAM_H>
#include <FT_TRUETYPE_TAGS_H>
#include <FT_INTERNAL_SFNT_H>
#include "ttgload.h"
#include "ttpload.h"
#include "tterrors.h"

Go to the source code of this file.

Macros

#define FT_COMPONENT   trace_ttobjs
 
#define TRICK_NAMES_COUNT   8
 
#define TRICK_NAMES_MAX_CHARACTERS   16
 
#define TRICK_SFNT_ID_cvt   0
 
#define TRICK_SFNT_ID_fpgm   1
 
#define TRICK_SFNT_ID_prep   2
 
#define TRICK_SFNT_IDS_NUM_FACES   13
 
#define TRICK_SFNT_IDS_PER_FACE   3
 

Typedefs

typedef struct tt_sfnt_id_rec_ tt_sfnt_id_rec
 

Functions

static FT_Bool tt_check_single_notdef (FT_Face ttface)
 
static FT_Bool tt_check_trickyness (FT_Face face)
 
static FT_Bool tt_check_trickyness_family (FT_String *name)
 
static FT_Bool tt_check_trickyness_sfnt_ids (TT_Face face)
 
 tt_driver_done (FT_Module ttdriver)
 
 tt_driver_init (FT_Module ttdriver)
 
 tt_face_done (FT_Face ttface)
 
 tt_face_init (FT_Stream stream, FT_Face ttface, FT_Int face_index, FT_Int num_params, FT_Parameter *params)
 
static FT_ULong tt_get_sfnt_checksum (TT_Face face, FT_UShort i)
 
 tt_size_done (FT_Size ttsize)
 
 tt_size_init (FT_Size ttsize)
 
 tt_size_reset (TT_Size size)
 
 tt_slot_init (FT_GlyphSlot slot)
 
static FT_UInt32 tt_synth_sfnt_checksum (FT_Stream stream, FT_ULong length)
 

Macro Definition Documentation

#define FT_COMPONENT   trace_ttobjs

Definition at line 49 of file ttobjs.c.

#define TRICK_NAMES_COUNT   8
#define TRICK_NAMES_MAX_CHARACTERS   16
#define TRICK_SFNT_ID_cvt   0
#define TRICK_SFNT_ID_fpgm   1
#define TRICK_SFNT_ID_prep   2
#define TRICK_SFNT_IDS_NUM_FACES   13
#define TRICK_SFNT_IDS_PER_FACE   3

Typedef Documentation

typedef struct tt_sfnt_id_rec_ tt_sfnt_id_rec

Function Documentation

static FT_Bool tt_check_single_notdef ( FT_Face  ttface)
static
static FT_Bool tt_check_trickyness ( FT_Face  face)
static
static FT_Bool tt_check_trickyness_family ( FT_String name)
static

Definition at line 149 of file ttobjs.c.

References FALSE, ft_strstr, TRICK_NAMES_COUNT, TRICK_NAMES_MAX_CHARACTERS, and TRUE.

Referenced by tt_check_trickyness().

tt_driver_done ( FT_Module  ttdriver)

Definition at line 1246 of file ttobjs.c.

References FT_UNUSED, NULL, and TT_Done_Context().

tt_driver_init ( FT_Module  ttdriver)

Definition at line 1213 of file ttobjs.c.

References FT_UNUSED, and TT_New_Context().

tt_size_done ( FT_Size  ttsize)

Definition at line 1099 of file ttobjs.c.

References FALSE, TT_SizeRec_::ttmetrics, and TT_Size_Metrics_::valid.

tt_size_init ( FT_Size  ttsize)
tt_slot_init ( FT_GlyphSlot  slot)

Definition at line 1280 of file ttobjs.c.

References FT_GlyphLoader_CreateExtra().

static FT_UInt32 tt_synth_sfnt_checksum ( FT_Stream  stream,
FT_ULong  length 
)
static

Definition at line 187 of file ttobjs.c.

References error, FT_FRAME_ENTER, FT_FRAME_EXIT, FT_GET_BYTE, FT_GET_ULONG, and i.

Referenced by tt_get_sfnt_checksum().