EventImages *event_images)
{
char *p;
- FT_UInt previous;
- FT_UInt num_glyphs;
FT_Vector pen;
unsigned code;
DBBox bbox;
drawing = render_priv->state.drawing;
text_info->length = 0;
- num_glyphs = 0;
p = event->Text;
int in_tag = 0;
}
// Preliminary layout (for line wrapping)
- previous = 0;
pen.x = 0;
pen.y = 0;
for (i = 0; i < text_info->length; i++) {
info = glyphs + i;
pen.x += info->cluster_advance.x;
pen.y += info->cluster_advance.y;
- previous = info->symbol;
}
// Create reorder map line-by-line
for (i = 0; i < text_info->n_lines; i++) {
LineInfo *line = text_info->lines + i;
- int level;
FriBidiParType dir = FRIBIDI_PAR_ON;
- level = fribidi_reorder_line(0,
+ fribidi_reorder_line(0,
shaper->ctypes + line->offset, line->len, 0, dir,
shaper->emblevels + line->offset, NULL,
shaper->cmap + line->offset);