pfrobjs.h File Reference

#include "pfrtypes.h"

Go to the source code of this file.

Classes

struct  PFR_FaceRec_
struct  PFR_SizeRec_
struct  PFR_SlotRec_

Typedefs

typedef typedefFT_BEGIN_HEADER
struct PFR_FaceRec_
PFR_Face
typedef PFR_SizeRec_PFR_Size
typedef PFR_SlotRec_PFR_Slot
typedef PFR_FaceRec_ PFR_FaceRec
typedef PFR_SizeRec_ PFR_SizeRec
typedef PFR_SlotRec_ PFR_SlotRec

Functions

 pfr_face_init (FT_Stream stream, FT_Face face, FT_Int face_index, FT_Int num_params, FT_Parameter *params)
 pfr_face_done (FT_Face face)
 pfr_face_get_kerning (FT_Face face, FT_UInt glyph1, FT_UInt glyph2, FT_Vector *kerning)
 pfr_slot_init (FT_GlyphSlot slot)
 pfr_slot_done (FT_GlyphSlot slot)
 pfr_slot_load (FT_GlyphSlot slot, FT_Size size, FT_UInt gindex, FT_Int32 load_flags)


Typedef Documentation

typedef typedefFT_BEGIN_HEADER struct PFR_FaceRec_* PFR_Face

Definition at line 27 of file pfrobjs.h.

typedef struct PFR_FaceRec_ PFR_FaceRec

typedef struct PFR_SizeRec_* PFR_Size

Definition at line 29 of file pfrobjs.h.

typedef struct PFR_SizeRec_ PFR_SizeRec

typedef struct PFR_SlotRec_* PFR_Slot

Definition at line 31 of file pfrobjs.h.

typedef struct PFR_SlotRec_ PFR_SlotRec


Function Documentation

pfr_face_done ( FT_Face  face  ) 

Definition at line 42 of file pfrobjs.c.

References FT_FACE_MEMORY, FT_FREE, NULL, and pfr_phy_font_done().

pfr_face_get_kerning ( FT_Face  face,
FT_UInt  glyph1,
FT_UInt  glyph2,
FT_Vector kerning 
)

Definition at line 453 of file pfrobjs.c.

References PFR_KernItemRec_::base_adj, PFR_CharRec_::char_code, PFR_PhyFontRec_::chars, error, extra, PFR_KernItemRec_::flags, FT_Bool, FT_BOOL, FT_FRAME_ENTER, FT_FRAME_EXIT, ft_highpow2(), FT_NEXT_ULONG, FT_PEEK_SHORT, FT_STREAM_SEEK, PFR_PhyFontRec_::kern_items, PFR_KernItemRec_::next, PFR_PhyFontRec_::num_chars, PFR_KernItemRec_::offset, p, PFR_KernItemRec_::pair1, PFR_KernItemRec_::pair_count, PFR_KernItemRec_::pair_size, PFR_KERN_INDEX, PFR_NEXT_KPAIR, size, PC3::stream(), and value.

Referenced by pfr_get_kerning().

pfr_face_init ( FT_Stream  stream,
FT_Face  face,
FT_Int  face_index,
FT_Int  num_params,
FT_Parameter params 
)

Definition at line 66 of file pfrobjs.c.

References PFR_PhyFontRec_::bbox, PFR_PhyFontRec_::chars, error, PFR_PhyFontRec_::family_name, PFR_PhyFontRec_::flags, PFR_PhyFontRec_::font_id, for(), FT_BOOL, FT_ERROR, FT_FACE_FLAG_FIXED_SIZES, FT_FACE_FLAG_FIXED_WIDTH, FT_FACE_FLAG_HORIZONTAL, FT_FACE_FLAG_KERNING, FT_FACE_FLAG_SCALABLE, FT_FACE_FLAG_VERTICAL, FT_NEW_ARRAY, FT_TRACE4, FT_UNUSED, gchar, PFR_CharRec_::gps_offset, if(), max, n, NULL, PFR_PhyFontRec_::num_chars, PFR_PhyFontRec_::num_kern_pairs, PFR_PhyFontRec_::num_strikes, PFR_PhyFontRec_::outline_resolution, pfr_header_check(), pfr_header_load(), pfr_log_font_count(), pfr_log_font_load(), pfr_phy_font_load(), PFR_PHY_PROPORTIONAL, PFR_PHY_VERTICAL, size, PFR_PhyFontRec_::strikes, PFR_PhyFontRec_::style_name, FT_BBox_::yMax, and FT_BBox_::yMin.

pfr_slot_done ( FT_GlyphSlot  slot  ) 

Definition at line 291 of file pfrobjs.c.

References PFR_SlotRec_::glyph, and pfr_glyph_done().

pfr_slot_init ( FT_GlyphSlot  slot  ) 

Definition at line 278 of file pfrobjs.c.

References PFR_SlotRec_::glyph, and pfr_glyph_init().

pfr_slot_load ( FT_GlyphSlot  slot,
FT_Size  size,
FT_UInt  gindex,
FT_Int32  load_flags 
)

Definition at line 301 of file pfrobjs.c.

References error, FT_Bool, FT_BOOL, FT_GLYPH_FORMAT_OUTLINE, FT_LOAD_NO_BITMAP, FT_LOAD_NO_SCALE, FT_LOAD_SBITS_ONLY, FT_MulDiv(), FT_MulFix(), FT_Outline_Get_CBox(), FT_OUTLINE_HIGH_PRECISION, FT_OUTLINE_OWNER, FT_OUTLINE_REVERSE_FILL, FT_Outline_Transform(), FT_Pos, gchar, PFR_SlotRec_::glyph, if(), PFR_GlyphRec_::loader, metrics(), n, pfr_glyph_load(), PFR_PHY_VERTICAL, pfr_slot_load_bitmap(), size, FT_Vector_::x, FT_BBox_::xMax, FT_BBox_::xMin, FT_Matrix_::xx, FT_Matrix_::xy, FT_Vector_::y, FT_BBox_::yMax, FT_BBox_::yMin, FT_Matrix_::yx, and FT_Matrix_::yy.


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