[kerx] Format
This commit is contained in:
parent
649cc3ef27
commit
e10a856eb2
|
@ -300,10 +300,11 @@ struct KerxSubTableFormat1
|
||||||
for (; i; i--)
|
for (; i; i--)
|
||||||
{
|
{
|
||||||
unsigned int idx = stack[depth - i];
|
unsigned int idx = stack[depth - i];
|
||||||
|
if (idx >= buffer->len) continue;
|
||||||
|
|
||||||
int v = actions[(i - 1) * tuple_count];
|
int v = actions[(i - 1) * tuple_count];
|
||||||
|
|
||||||
/* "The end of the list is marked by an odd value..."
|
/* "The end of the list is marked by an odd value..." Ignore it. */
|
||||||
* Ignore it. */
|
|
||||||
v &= ~1;
|
v &= ~1;
|
||||||
|
|
||||||
/* The following flag is undocumented in the spec, but described
|
/* The following flag is undocumented in the spec, but described
|
||||||
|
@ -314,8 +315,6 @@ struct KerxSubTableFormat1
|
||||||
v = 0;
|
v = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (idx < buffer->len)
|
|
||||||
{
|
|
||||||
if (HB_DIRECTION_IS_HORIZONTAL (buffer->props.direction))
|
if (HB_DIRECTION_IS_HORIZONTAL (buffer->props.direction))
|
||||||
{
|
{
|
||||||
if (crossStream)
|
if (crossStream)
|
||||||
|
@ -352,7 +351,6 @@ struct KerxSubTableFormat1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
depth = 0;
|
depth = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue