Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType Demo Programs
Commits:
-
2b107cc4
by Alexei Podtelezhnikov at 2021-10-18T15:37:37+00:00
1 changed file:
Changes:
... | ... | @@ -246,7 +246,7 @@ |
246 | 246 |
{
|
247 | 247 |
grWriteCellChar( &target->bitmap, x, y, charcode, color );
|
248 | 248 |
if (target->refresh_rect)
|
249 |
- target->refresh_rect( target, x, y, 8, 8 );
|
|
249 |
+ target->refresh_rect( target, x, y, 8, GR_FONT_SIZE );
|
|
250 | 250 |
}
|
251 | 251 |
|
252 | 252 |
|
... | ... | @@ -285,7 +285,7 @@ |
285 | 285 |
len = (int)strlen(string);
|
286 | 286 |
grWriteCellString( &target->bitmap, x, y, string, color );
|
287 | 287 |
if (target->refresh_rect)
|
288 |
- target->refresh_rect( target, x, y, 8*len, 8 );
|
|
288 |
+ target->refresh_rect( target, x, y, 8*len, GR_FONT_SIZE );
|
|
289 | 289 |
}
|
290 | 290 |
|
291 | 291 |
|