Home | History | Annotate | Download | only in cache

Lines Matching full:sbit

36   /*****                     SBIT CACHE NODES                          *****/
43 ftc_sbit_copy_bitmap( FTC_SBit sbit,
57 if ( !FT_ALLOC( sbit->buffer, size ) )
58 FT_MEM_COPY( sbit->buffer, bitmap->buffer, size );
69 FTC_SBit sbit = snode->sbits;
74 for ( ; count > 0; sbit++, count-- )
75 FT_FREE( sbit->buffer );
95 * to a bad font file), this function will mark the sbit as `unavailable'
112 FTC_SBit sbit;
122 sbit = snode->sbits + ( gindex - gnode->gindex );
125 sbit->buffer = 0;
147 /* and we will leave it as `missing' with sbit.buffer = 0 */
169 sbit->width = (FT_Byte)bitmap->width;
170 sbit->height = (FT_Byte)bitmap->rows;
171 sbit->pitch = (FT_Char)bitmap->pitch;
172 sbit->left = (FT_Char)slot->bitmap_left;
173 sbit->top = (FT_Char)slot->bitmap_top;
174 sbit->xadvance = (FT_Char)xadvance;
175 sbit->yadvance = (FT_Char)yadvance;
176 sbit->format = (FT_Byte)bitmap->pixel_mode;
177 sbit->max_grays = (FT_Byte)(bitmap->num_grays - 1);
180 error = ftc_sbit_copy_bitmap( sbit, bitmap, memory );
184 *asize = (FT_ULong)FT_ABS( sbit->pitch ) * sbit->height;
189 /* we mark unloaded glyphs with `sbit.buffer == 0' */
195 sbit->width = 255;
196 sbit->height = 0;
197 sbit->buffer = NULL;
284 FTC_SBit sbit = snode->sbits;
296 for ( ; count > 0; count--, sbit++ )
298 if ( sbit->buffer )
300 pitch = sbit->pitch;
305 size += (FT_Offset)pitch * sbit->height;
344 FTC_SBit sbit = snode->sbits + ( gindex - gnode->gindex );
379 if ( sbit->buffer == NULL && sbit->width == 255 )