Hi Martin,

> Placing each character indiviually works nicely with xft enabled
> builds. because of the really nice function:
> 
> XftDrawCharSpec (m_pXftDraw, &m_XftColor, m_pXftFont, pCharSpec,
> iLength);
> 
> Where pCharSpec is pointer to an array of structs, containing a ucs4
> valueof th glyph and the (x,y) location of the glyph. Is such a
> function available for win32 and other builds?

We already place all characters individually, that's how the 
overstriking characters are handled (see for instance 
fp_TextRun::_draw() and gr_Graphichs::drawChars()).

> One additional feature of this technique is that we can finally do our
> own kerning.
Most certainly.

Tomas

Reply via email to