| 149 |
if ( bit_last < bit_width ) |
if ( bit_last < bit_width ) |
| 150 |
{ |
{ |
| 151 |
FT_Byte* line = bitmap->buffer + ( bit_last >> 3 ); |
FT_Byte* line = bitmap->buffer + ( bit_last >> 3 ); |
| 152 |
|
FT_Byte* end = bitmap->buffer + pitch; |
| 153 |
FT_Int shift = bit_last & 7; |
FT_Int shift = bit_last & 7; |
| 154 |
FT_UInt mask = 0xFF00U >> shift; |
FT_UInt mask = 0xFF00U >> shift; |
| 155 |
FT_Int count = height; |
FT_Int count = height; |
| 156 |
|
|
| 157 |
|
|
| 158 |
for ( ; count > 0; count--, line += pitch ) |
for ( ; count > 0; count--, line += pitch, end += pitch ) |
| 159 |
{ |
{ |
| 160 |
FT_Byte* write = line; |
FT_Byte* write = line; |
|
FT_Byte* end = line + pitch; |
|
| 161 |
|
|
| 162 |
|
|
| 163 |
if ( shift > 0 ) |
if ( shift > 0 ) |