zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pcfdrivr.c File Reference
#include <ft2build.h>
#include <FT_INTERNAL_DEBUG_H>
#include <FT_INTERNAL_STREAM_H>
#include <FT_INTERNAL_OBJECTS_H>
#include <FT_GZIP_H>
#include <FT_LZW_H>
#include <FT_BZIP2_H>
#include <FT_ERRORS_H>
#include <FT_BDF_H>
#include <FT_TRUETYPE_IDS_H>
#include "pcf.h"
#include "pcfdrivr.h"
#include "pcfread.h"
#include "pcferror.h"
#include "pcfutil.h"
#include <FT_SERVICE_BDF_H>
#include <FT_SERVICE_XFREE86_NAME_H>

Go to the source code of this file.

Macros

#define FT_COMPONENT   trace_pcfread
 
#define FT_COMPONENT   trace_pcfdriver
 

Typedefs

typedef struct PCF_CMapRec_ * PCF_CMap
 
typedef struct PCF_CMapRec_ PCF_CMapRec
 

Functions

 pcf_cmap_char_index (FT_CMap pcfcmap, FT_UInt32 charcode)
 
 pcf_cmap_char_next (FT_CMap pcfcmap, FT_UInt32 *acharcode)
 
 pcf_cmap_done (FT_CMap pcfcmap)
 
 pcf_cmap_init (FT_CMap pcfcmap, FT_Pointer init_data)
 
 pcf_driver_requester (FT_Module module, const char *name)
 
 PCF_Face_Done (FT_Face pcfface)
 
 PCF_Face_Init (FT_Stream stream, FT_Face pcfface, FT_Int face_index, FT_Int num_params, FT_Parameter *params)
 
static FT_Error pcf_get_bdf_property (PCF_Face face, const char *prop_name, BDF_PropertyRec *aproperty)
 
static FT_Error pcf_get_charset_id (PCF_Face face, const char **acharset_encoding, const char **acharset_registry)
 
 PCF_Glyph_Load (FT_GlyphSlot slot, FT_Size size, FT_UInt glyph_index, FT_Int32 load_flags)
 
 PCF_Size_Request (FT_Size size, FT_Size_Request req)
 
 PCF_Size_Select (FT_Size size, FT_ULong strike_index)
 

Variables

FT_CALLBACK_TABLE_DEF const
FT_CMap_ClassRec 
pcf_cmap_class
 
FT_CALLBACK_TABLE_DEF const
FT_Driver_ClassRec 
pcf_driver_class
 
static const FT_Service_BDFRec pcf_service_bdf
 
static const FT_ServiceDescRec pcf_services []
 

Macro Definition Documentation

#define FT_COMPONENT   trace_pcfread

Definition at line 61 of file pcfdrivr.c.

#define FT_COMPONENT   trace_pcfdriver

Definition at line 61 of file pcfdrivr.c.

Typedef Documentation

typedef struct PCF_CMapRec_ * PCF_CMap
typedef struct PCF_CMapRec_ PCF_CMapRec

Function Documentation

pcf_cmap_char_index ( FT_CMap  pcfcmap,
FT_UInt32  charcode 
)

Definition at line 102 of file pcfdrivr.c.

References cmap, PCF_EncodingRec_::enc, encodings, PCF_EncodingRec_::glyph, max, and min.

pcf_cmap_char_next ( FT_CMap  pcfcmap,
FT_UInt32 *  acharcode 
)

Definition at line 139 of file pcfdrivr.c.

References cmap, PCF_EncodingRec_::enc, encodings, FT_TRACE1, PCF_EncodingRec_::glyph, max, and min.

pcf_cmap_done ( FT_CMap  pcfcmap)

Definition at line 91 of file pcfdrivr.c.

References cmap, and NULL.

pcf_cmap_init ( FT_CMap  pcfcmap,
FT_Pointer  init_data 
)

Definition at line 74 of file pcfdrivr.c.

References cmap, PCF_FaceRec_::encodings, FT_CMAP_FACE, FT_UNUSED, and PCF_FaceRec_::nencodings.

pcf_driver_requester ( FT_Module  module,
const char *  name 
)

Definition at line 663 of file pcfdrivr.c.

References ft_service_list_lookup(), and FT_UNUSED.

static FT_Error pcf_get_charset_id ( PCF_Face  face,
const char **  acharset_encoding,
const char **  acharset_registry 
)
static

Definition at line 630 of file pcfdrivr.c.

References PCF_FaceRec_::charset_encoding, and PCF_FaceRec_::charset_registry.

PCF_Size_Select ( FT_Size  size,
FT_ULong  strike_index 
)

Variable Documentation

Initial value:
=
{
sizeof ( PCF_CMapRec ),
}
#define NULL
Definition: ftobjs.h:61
struct PCF_CMapRec_ PCF_CMapRec
pcf_cmap_char_next(FT_CMap pcfcmap, FT_UInt32 *acharcode)
Definition: pcfdrivr.c:139
pcf_cmap_init(FT_CMap pcfcmap, FT_Pointer init_data)
Definition: pcfdrivr.c:74
pcf_cmap_done(FT_CMap pcfcmap)
Definition: pcfdrivr.c:91
pcf_cmap_char_index(FT_CMap pcfcmap, FT_UInt32 charcode)
Definition: pcfdrivr.c:102

Definition at line 193 of file pcfdrivr.c.

Definition at line 673 of file pcfdrivr.c.

const FT_Service_BDFRec pcf_service_bdf
static
Initial value:
=
{
}
FT_Error(* FT_BDF_GetPropertyFunc)(FT_Face face, const char *prop_name, BDF_PropertyRec *aproperty)
Definition: svbdf.h:37
static FT_Error pcf_get_bdf_property(PCF_Face face, const char *prop_name, BDF_PropertyRec *aproperty)
Definition: pcfdrivr.c:593
static FT_Error pcf_get_charset_id(PCF_Face face, const char **acharset_encoding, const char **acharset_registry)
Definition: pcfdrivr.c:630
FT_Error(* FT_BDF_GetCharsetIdFunc)(FT_Face face, const char **acharset_encoding, const char **acharset_registry)
Definition: svbdf.h:32

Definition at line 641 of file pcfdrivr.c.

const FT_ServiceDescRec pcf_services[]
static
Initial value:
=
{
{ NULL, NULL }
}
#define NULL
Definition: ftobjs.h:61
#define FT_SERVICE_ID_BDF
Definition: svbdf.h:29
#define FT_XF86_FORMAT_PCF
Definition: svxf86nm.h:39
#define FT_SERVICE_ID_XF86_NAME
Definition: svxf86nm.h:34
static const FT_Service_BDFRec pcf_service_bdf
Definition: pcfdrivr.c:641

Definition at line 654 of file pcfdrivr.c.