提交 f4bad008 编写于 作者: B Behdad Esfahbod

[kerx] Implement tupleKerning for Format1

Untested.
上级 39b4ef6f
......@@ -295,10 +295,12 @@ struct KerxSubTableFormat1
i++;
break;
}
unsigned int tuple_count = table->header.tuple_count ();
tuple_count = tuple_count ? tuple_count : 1;
for (; i; 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..."
* Ignore it. */
......@@ -376,9 +378,6 @@ struct KerxSubTableFormat1
if (!c->plan->requested_kerning)
return false;
if (header.tuple_count ())
return_trace (false); /* TODO kerxTupleKern */
driver_context_t dc (this, c);
StateTableDriver<Types, EntryData> driver (machine, c->buffer, c->font->face);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册