I've been chasing an obscure bug having to do with accent positioning in
OpenType fonts. The symptom is that sometimes, accents are positioned too
far to left. After chasing my tail for quite a while, I've narrowed this
bug down to the fact that the face the indic-ot shaper passes to the
OpenType routines has face->size.metrics.x_scale == 0. (actually
everything in the metrics record is zero) This causes the OT code which
returns anchor points to return them all as zero 'cause it multiplies to
co-ordinates by x_scale. My shaper gets the face like this:
face = pango_xft_font_lock_face (font);
So I assume that the problem is somewhere in pango_xft_font_lock_face...
does anybody have any idea where I should start looking?