mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-07 06:25:03 +00:00
[SimpleGlyph] Handle cubic curves when instancing
This commit is contained in:
parent
85a0a12338
commit
fbffd4e65e
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ struct SimpleGlyph
|
|||
for (unsigned i = 0; i < num_points; i++)
|
||||
{
|
||||
unsigned flag = all_points.arrayZ[i].flag;
|
||||
flag &= FLAG_ON_CURVE + FLAG_OVERLAP_SIMPLE;
|
||||
flag &= FLAG_ON_CURVE | FLAG_OVERLAP_SIMPLE | FLAG_CUBIC;
|
||||
|
||||
int cur_x = roundf (all_points.arrayZ[i].x);
|
||||
int cur_y = roundf (all_points.arrayZ[i].y);
|
||||
|
|
Loading…
Add table
Reference in a new issue