mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
auto merge of #1229 : june0cho/servo/fix_582, r=metajack
...this is not implemented. With @sonwow @brson
This commit is contained in:
commit
e98ddef9bb
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue