[Cairo] Text API proposal

Owen Taylor otaylor at redhat.com
Wed Jul 30 07:24:41 PDT 2003

On Wed, 2003-07-30 at 04:52, Thorsten Behrens wrote:

> That sounds reasonable. The only thing we need to use Cairo portably is a
> high-level text interface. Do you still think that the proposed Cairo
> glyph render API suffices for Windows? As we've said, Uniscribe and glyph
> output on Windows are extremely hard to separate.

Seems to work for Pango - the code to convert string to positioned
glyphs is in:


Then the drawing goes on in


(pango_win32_render()) using ExtTextOutW() and the ETO_GLYPH_INDEX 

You are basically reimplementing the ScriptTextOut() call of 
Uniscribe, but I don't think it does anything magic that isn't
available to Win32 applications.


More information about the cairo mailing list