Lines Matching defs:bitmap
295 FT_FREE( slot->bitmap.buffer );
300 /* assume that the bitmap buffer was stolen or not */
302 slot->bitmap.buffer = NULL;
313 slot->bitmap.buffer = buffer;
328 FT_FREE( slot->bitmap.buffer );
332 (void)FT_ALLOC( slot->bitmap.buffer, size );
340 /* free bitmap if needed */
347 slot->bitmap.width = 0;
348 slot->bitmap.rows = 0;
349 slot->bitmap.pitch = 0;
350 slot->bitmap.pixel_mode = 0;
351 /* `slot->bitmap.buffer' has been handled by ft_glyphslot_free_bitmap */
380 /* free bitmap buffer if needed */
1277 /* We aren't interested in `NFNT' or `FONT' bitmap resources. */
2585 FT_TRACE3(( "FT_Match_Size: bitmap strike %d matches\n", i ));
2930 * are bitmap-only and size matching is not implemented.
4075 /* if it is already a bitmap, no need to do anything */
4078 case FT_GLYPH_FORMAT_BITMAP: /* already a bitmap, don't do anything */
4119 /* we convert to a single bitmap format for computing the checksum */
4122 FT_Bitmap bitmap;
4126 FT_Bitmap_Init( &bitmap );
4128 /* this also converts the bitmap flow to `down' (i.e., pitch > 0) */
4129 err = FT_Bitmap_Convert( library, &slot->bitmap, &bitmap, 1 );
4135 unsigned int rows = bitmap.rows;
4136 unsigned int pitch = (unsigned int)bitmap.pitch;
4140 MD5_Update( &ctx, bitmap.buffer, rows * pitch );
4143 FT_TRACE3(( "MD5 checksum for %dx%d bitmap:\n"
4151 FT_Bitmap_Done( library, &bitmap );