zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
bdfdrivr.c File Reference
#include <ft2build.h>
#include <FT_INTERNAL_DEBUG_H>
#include <FT_INTERNAL_STREAM_H>
#include <FT_INTERNAL_OBJECTS_H>
#include <FT_BDF_H>
#include <FT_TRUETYPE_IDS_H>
#include <FT_SERVICE_BDF_H>
#include <FT_SERVICE_XFREE86_NAME_H>
#include "bdf.h"
#include "bdfdrivr.h"
#include "bdferror.h"

Go to the source code of this file.

Macros

#define FT_COMPONENT   trace_bdfdriver
 

Typedefs

typedef struct BDF_CMapRec_ * BDF_CMap
 
typedef struct BDF_CMapRec_ BDF_CMapRec
 

Functions

 bdf_cmap_char_index (FT_CMap bdfcmap, FT_UInt32 charcode)
 
 bdf_cmap_char_next (FT_CMap bdfcmap, FT_UInt32 *acharcode)
 
 bdf_cmap_done (FT_CMap bdfcmap)
 
 bdf_cmap_init (FT_CMap bdfcmap, FT_Pointer init_data)
 
 bdf_driver_requester (FT_Module module, const char *name)
 
 BDF_Face_Done (FT_Face bdfface)
 
 BDF_Face_Init (FT_Stream stream, FT_Face bdfface, FT_Int face_index, FT_Int num_params, FT_Parameter *params)
 
static FT_Error bdf_get_bdf_property (BDF_Face face, const char *prop_name, BDF_PropertyRec *aproperty)
 
static FT_Error bdf_get_charset_id (BDF_Face face, const char **acharset_encoding, const char **acharset_registry)
 
 BDF_Glyph_Load (FT_GlyphSlot slot, FT_Size size, FT_UInt glyph_index, FT_Int32 load_flags)
 
static FT_Error bdf_interpret_style (BDF_Face bdf)
 
 BDF_Size_Request (FT_Size size, FT_Size_Request req)
 
 BDF_Size_Select (FT_Size size, FT_ULong strike_index)
 

Variables

FT_CALLBACK_TABLE_DEF const
FT_CMap_ClassRec 
bdf_cmap_class
 
FT_CALLBACK_TABLE_DEF const
FT_Driver_ClassRec 
bdf_driver_class
 
static const FT_Service_BDFRec bdf_service_bdf
 
static const FT_ServiceDescRec bdf_services []
 

Macro Definition Documentation

#define FT_COMPONENT   trace_bdfdriver

Definition at line 51 of file bdfdrivr.c.

Typedef Documentation

typedef struct BDF_CMapRec_ * BDF_CMap
typedef struct BDF_CMapRec_ BDF_CMapRec

Function Documentation

bdf_cmap_char_index ( FT_CMap  bdfcmap,
FT_UInt32  charcode 
)

Definition at line 91 of file bdfdrivr.c.

References cmap, encodings, max, and min.

bdf_cmap_char_next ( FT_CMap  bdfcmap,
FT_UInt32 *  acharcode 
)

Definition at line 130 of file bdfdrivr.c.

References cmap, encodings, FT_TRACE1, max, and min.

bdf_cmap_done ( FT_CMap  bdfcmap)

Definition at line 80 of file bdfdrivr.c.

References cmap, and NULL.

bdf_cmap_init ( FT_CMap  bdfcmap,
FT_Pointer  init_data 
)
bdf_driver_requester ( FT_Module  module,
const char *  name 
)

Definition at line 827 of file bdfdrivr.c.

References ft_service_list_lookup(), and FT_UNUSED.

BDF_Face_Init ( FT_Stream  stream,
FT_Face  bdfface,
FT_Int  face_index,
FT_Int  num_params,
FT_Parameter params 
)
static FT_Error bdf_get_charset_id ( BDF_Face  face,
const char **  acharset_encoding,
const char **  acharset_registry 
)
static

Definition at line 794 of file bdfdrivr.c.

References BDF_FaceRec_::charset_encoding, and BDF_FaceRec_::charset_registry.

BDF_Size_Select ( FT_Size  size,
FT_ULong  strike_index 
)

Variable Documentation

Initial value:
=
{
sizeof ( BDF_CMapRec ),
}
#define NULL
Definition: ftobjs.h:61
bdf_cmap_init(FT_CMap bdfcmap, FT_Pointer init_data)
Definition: bdfdrivr.c:64
bdf_cmap_char_index(FT_CMap bdfcmap, FT_UInt32 charcode)
Definition: bdfdrivr.c:91
bdf_cmap_done(FT_CMap bdfcmap)
Definition: bdfdrivr.c:80
struct BDF_CMapRec_ BDF_CMapRec
bdf_cmap_char_next(FT_CMap bdfcmap, FT_UInt32 *acharcode)
Definition: bdfdrivr.c:130

Definition at line 186 of file bdfdrivr.c.

Definition at line 838 of file bdfdrivr.c.

const FT_Service_BDFRec bdf_service_bdf
static
Initial value:
=
{
}
static FT_Error bdf_get_charset_id(BDF_Face face, const char **acharset_encoding, const char **acharset_registry)
Definition: bdfdrivr.c:794
static FT_Error bdf_get_bdf_property(BDF_Face face, const char *prop_name, BDF_PropertyRec *aproperty)
Definition: bdfdrivr.c:743
FT_Error(* FT_BDF_GetPropertyFunc)(FT_Face face, const char *prop_name, BDF_PropertyRec *aproperty)
Definition: svbdf.h:37
FT_Error(* FT_BDF_GetCharsetIdFunc)(FT_Face face, const char **acharset_encoding, const char **acharset_registry)
Definition: svbdf.h:32

Definition at line 805 of file bdfdrivr.c.

const FT_ServiceDescRec bdf_services[]
static
Initial value:
=
{
{ NULL, NULL }
}
#define NULL
Definition: ftobjs.h:61
static const FT_Service_BDFRec bdf_service_bdf
Definition: bdfdrivr.c:805
#define FT_XF86_FORMAT_BDF
Definition: svxf86nm.h:38
#define FT_SERVICE_ID_BDF
Definition: svbdf.h:29
#define FT_SERVICE_ID_XF86_NAME
Definition: svxf86nm.h:34

Definition at line 818 of file bdfdrivr.c.