提交 1a5a3325 编写于 作者: B Behdad Esfahbod

[kerx] Minor

上级 d62b4011
...@@ -104,9 +104,9 @@ struct KerxSubTableFormat1 ...@@ -104,9 +104,9 @@ struct KerxSubTableFormat1
struct KerxSubTableFormat2 struct KerxSubTableFormat2
{ {
inline int get_kerning (hb_codepoint_t left, hb_codepoint_t right, const char *end) const inline int get_kerning (hb_codepoint_t left, hb_codepoint_t right,
const char *end, unsigned int num_glyphs) const
{ {
unsigned int num_glyphs = 0; /* XXX */
unsigned int l = *(this+leftClassTable).get_value (left, num_glyphs); unsigned int l = *(this+leftClassTable).get_value (left, num_glyphs);
unsigned int r = *(this+rightClassTable).get_value (right, num_glyphs); unsigned int r = *(this+rightClassTable).get_value (right, num_glyphs);
unsigned int offset = l + r; unsigned int offset = l + r;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册