auto merge of #1229 : june0cho/servo/fix_582, r=metajack

...this is not implemented. With @sonwow
@brson
This commit is contained in:
bors-servo 2013-11-14 16:37:17 -08:00
commit e98ddef9bb

View file

@ -334,7 +334,7 @@ impl Shaper {
let mut max_glyph_idx = glyph_span.end(); let mut max_glyph_idx = glyph_span.end();
for i in char_byte_span.eachi() { for i in char_byte_span.eachi() {
if byteToGlyph[i] > NO_GLYPH { if byteToGlyph[i] > NO_GLYPH {
max_glyph_idx = uint::max(byteToGlyph[i] as uint, max_glyph_idx); max_glyph_idx = uint::max(byteToGlyph[i] as uint + 1, max_glyph_idx);
} }
} }