594 character = &phys->chars[glyph_index];
602 strike = phys->strikes;
603 for (
n = 0;
n < phys->num_strikes;
n++ )
605 if ( strike->x_ppm == (
FT_UInt)
size->root.metrics.x_ppem &&
606 strike->y_ppm == (
FT_UInt)
size->root.metrics.y_ppem )
613 return FT_THROW( Invalid_Argument );
640 character->char_code,
663 if ( phys->metrics_resolution != phys->outline_resolution )
665 (
FT_Long)phys->outline_resolution,
666 (
FT_Long)phys->metrics_resolution );
674 (
FT_Long)phys->metrics_resolution );
713 if ( ( (
FT_ULong)xsize * ysize + 7 ) / 8 > gps_size )
717 if ( (
FT_ULong)xsize * ysize > 15 * gps_size )
721 if ( (
FT_ULong)xsize * ysize > 255 * ( ( gps_size + 1 ) / 2 ) )
725 FT_ERROR((
"pfr_slot_load_bitmap: invalid image type\n" ));
732 FT_ERROR((
"pfr_slot_load_bitmap: invalid bitmap dimensions\n" ));
748 FT_TRACE1((
"huge bitmap glyph %dx%d over FT_GlyphSlot\n",
FT_BEGIN_HEADER typedef signed long FT_Pos
#define PFR_BITMAP_2BYTE_SIZE
FT_Fixed linearHoriAdvance
#define PFR_BITMAP_3BYTE_OFFSET
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
#define FT_TRACE1(varformat)
#define FT_ERROR(varformat)
#define PFR_BITMAP_2BYTE_CHARCODE
FT_MulDiv(FT_Long a, FT_Long b, FT_Long c)
ft_glyphslot_alloc_bitmap(FT_GlyphSlot slot, FT_ULong size)
#define PFR_FLAG_INVERT_BITMAP
static FT_Error pfr_load_bitmap_metrics(FT_Byte **pdata, FT_Byte *limit, FT_Long scaled_advance, FT_Long *axpos, FT_Long *aypos, FT_UInt *axsize, FT_UInt *aysize, FT_Long *aadvance, FT_UInt *aformat)
_STLP_MOVE_TO_STD_NAMESPACE void _STLP_CALL advance(_InputIterator &__i, _Distance __n)
#define FT_STREAM_SEEK(position)
static void pfr_lookup_bitmap_data(FT_Byte *base, FT_Byte *limit, FT_UInt count, FT_UInt *flags, FT_UInt char_code, FT_ULong *found_offset, FT_ULong *found_size)
typedefFT_BEGIN_HEADER struct PFR_FaceRec_ * PFR_Face
#define FT_FRAME_ENTER(size)
static FT_Error pfr_load_bitmap_bits(FT_Byte *p, FT_Byte *limit, FT_UInt format, FT_Bool decreasing, FT_Bitmap *target)
GLenum GLuint GLint GLenum face