pfrdrivr.c File Reference

#include <ft2build.h>
#include "pfrdrivr.h"
#include "pfrobjs.h"
#include "pfrerror.h"

Go to the source code of this file.

Functions

 pfr_get_kerning (FT_Face pfrface, FT_UInt left, FT_UInt right, FT_Vector *avector)
 pfr_get_advance (FT_Face pfrface, FT_UInt gindex, FT_Pos *anadvance)
 pfr_get_metrics (FT_Face pfrface, FT_UInt *anoutline_resolution, FT_UInt *ametrics_resolution, FT_Fixed *ametrics_x_scale, FT_Fixed *ametrics_y_scale)
 pfr_get_service (FT_Module module, const FT_String *service_id)

Variables

FT_CALLBACK_TABLE_DEF const
FT_Service_PfrMetricsRec 
pfr_metrics_service_rec
static const FT_ServiceDescRec pfr_services []
FT_CALLBACK_TABLE_DEF const
FT_Driver_ClassRec 
pfr_driver_class


Function Documentation

pfr_get_advance ( FT_Face  pfrface,
FT_UInt  gindex,
FT_Pos anadvance 
)

Definition at line 64 of file pfrdrivr.c.

References PFR_CharRec_::advance, PFR_PhyFontRec_::chars, and error.

pfr_get_kerning ( FT_Face  pfrface,
FT_UInt  left,
FT_UInt  right,
FT_Vector avector 
)

Definition at line 31 of file pfrdrivr.c.

References FT_MulDiv(), PFR_PhyFontRec_::metrics_resolution, PFR_PhyFontRec_::outline_resolution, and pfr_face_get_kerning().

pfr_get_metrics ( FT_Face  pfrface,
FT_UInt anoutline_resolution,
FT_UInt ametrics_resolution,
FT_Fixed ametrics_x_scale,
FT_Fixed ametrics_y_scale 
)

Definition at line 97 of file pfrdrivr.c.

References FT_DivFix(), RooFitShortHand::L(), PFR_PhyFontRec_::metrics_resolution, PFR_PhyFontRec_::outline_resolution, and size.

pfr_get_service ( FT_Module  module,
const FT_String service_id 
)

Definition at line 160 of file pfrdrivr.c.

References ft_service_list_lookup(), FT_UNUSED, and pfr_services.


Variable Documentation

FT_CALLBACK_TABLE_DEF const FT_Driver_ClassRec pfr_driver_class

Definition at line 170 of file pfrdrivr.c.

FT_CALLBACK_TABLE_DEF const FT_Service_PfrMetricsRec pfr_metrics_service_rec

Initial value:

Definition at line 138 of file pfrdrivr.c.

const FT_ServiceDescRec pfr_services[] [static]

Initial value:

Definition at line 151 of file pfrdrivr.c.

Referenced by pfr_get_service().


Generated on Tue Jul 5 15:58:24 2011 for ROOT_528-00b_version by  doxygen 1.5.1