Charlie Jiang pushed to branch gsoc-2022-chariri-3 at FreeType / FreeType Demo Programs
Commits:
-
57b34f0b
by Charlie Jiang at 2022-09-05T15:54:21+08:00
1 changed file:
Changes:
... | ... | @@ -522,9 +522,6 @@ StringRenderer::renderLine(int x, |
522 | 522 | int offset,
|
523 | 523 | bool handleMultiLine)
|
524 | 524 | {
|
525 | - if (x < 0 || y < 0 || x > width || y > height)
|
|
526 | - return 0;
|
|
527 | - |
|
528 | 525 | y = height - y; // change to Cartesian coordinates
|
529 | 526 | |
530 | 527 | FT_Vector pen = { 0, 0 };
|