File diff r27285:3bb11625e41b → r27286:e17e476b3c23
src/gfx_layout_icu.cpp
Show inline comments
 
@@ -205,13 +205,13 @@ void ICURun::Shape(UChar *buff, size_t b
 
			this->glyphs.push_back(glyph_info[i].codepoint);
 
			this->positions.push_back(glyph_pos[i].x_offset / FONT_SCALE + advance);
 
			this->positions.push_back(glyph_pos[i].y_offset / FONT_SCALE);
 
			x_advance = glyph_pos[i].x_advance / FONT_SCALE;
 
		}
 

	
 
		this->glyph_to_char.push_back(glyph_info[i].cluster);
 
		this->glyph_to_char.push_back(glyph_info[i].cluster - this->start);
 
		this->advance.push_back(x_advance);
 
		advance += x_advance;
 
	}
 

	
 
	/* Position has one more element to close off the array. */
 
	this->positions.push_back(advance);