shaper: correctly handle @font advance
commit256df617e227af2ed7274f4281756ec38ad30a70
authorGrigori Goronzy <greg@blackbox>
Sun, 3 Mar 2013 22:45:26 +0000 (3 23:45 +0100)
committerGrigori Goronzy <greg@blackbox>
Sun, 3 Mar 2013 22:45:26 +0000 (3 23:45 +0100)
tree433aa1181f64790745c4e2742e080cf1786e4ae9
parent1ae86d2390b3e64b5f6574fa1628461bc403ae14
shaper: correctly handle @font advance

The code was confusing glyph index and unicode codepoint index.

Fixes issue 94.
libass/ass_shaper.c