parent
39b4ef6f18
commit
f4bad0086e
|
@ -295,10 +295,12 @@ struct KerxSubTableFormat1
|
||||||
i++;
|
i++;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
unsigned int tuple_count = table->header.tuple_count ();
|
||||||
|
tuple_count = tuple_count ? tuple_count : 1;
|
||||||
for (; i; i--)
|
for (; i; i--)
|
||||||
{
|
{
|
||||||
unsigned int idx = stack[depth - i];
|
unsigned int idx = stack[depth - i];
|
||||||
int v = actions[i - 1];
|
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. */
|
||||||
|
@ -376,9 +378,6 @@ struct KerxSubTableFormat1
|
||||||
if (!c->plan->requested_kerning)
|
if (!c->plan->requested_kerning)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (header.tuple_count ())
|
|
||||||
return_trace (false); /* TODO kerxTupleKern */
|
|
||||||
|
|
||||||
driver_context_t dc (this, c);
|
driver_context_t dc (this, c);
|
||||||
|
|
||||||
StateTableDriver<Types, EntryData> driver (machine, c->buffer, c->font->face);
|
StateTableDriver<Types, EntryData> driver (machine, c->buffer, c->font->face);
|
||||||
|
|
Loading…
Reference in New Issue