Skip to content

Commit

Permalink
auto merge of #1229 : june0cho/servo/fix_582, r=metajack
Browse files Browse the repository at this point in the history
...this is not implemented. With @sonwow
@brson
  • Loading branch information
bors-servo committed Nov 15, 2013
2 parents 0df8c2a + ee5ff3f commit e98ddef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/gfx/text/shaping/harfbuzz.rs
Expand Up @@ -334,7 +334,7 @@ impl Shaper {
let mut max_glyph_idx = glyph_span.end();
for i in char_byte_span.eachi() {
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);
}
}

Expand Down

0 comments on commit e98ddef

Please sign in to comment.