* src/sfnt/ttsbit0.c (tt_sbit_decoder_load_image): image_offset is
added to image_start twice when image_format is 2 or 5.
This commit is contained in:
parent
d81947e429
commit
275be9ba6d
@ -1,3 +1,8 @@
|
||||
2005-11-21 Chia-I Wu <b90201047@ntu.edu.tw>
|
||||
|
||||
* src/sfnt/ttsbit0.c (tt_sbit_decoder_load_image): image_offset is
|
||||
added to image_start twice when image_format is 2 or 5.
|
||||
|
||||
2005-11-21 Chia-I Wu <b90201047@ntu.edu.tw>
|
||||
|
||||
* src/sfnt/sfobjs.c (sfnt_init_face): Check that format_tag is known
|
||||
|
@ -830,7 +830,7 @@
|
||||
if ( tt_sbit_decoder_load_metrics( decoder, &p, p_limit, 1 ) )
|
||||
goto NoBitmap;
|
||||
|
||||
image_start = image_offset + image_size * ( glyph_index - start );
|
||||
image_start = image_size * ( glyph_index - start );
|
||||
image_end = image_start + image_size;
|
||||
}
|
||||
break;
|
||||
@ -910,7 +910,7 @@
|
||||
if ( mm >= num_glyphs )
|
||||
goto NoBitmap;
|
||||
|
||||
image_start = image_offset + image_size*mm;
|
||||
image_start = image_size*mm;
|
||||
image_end = image_start + image_size;
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user