a.g.nienhuis at gmail.com
Tue May 1 02:39:20 PDT 2012
I think you need extents.x_advance.
On Apr 29, 2012 5:23 AM, "Anu John" <anujohnt at yahoo.com> wrote:
> I am new to cairo graphics. I am trying to draw a text letter by letter. I
> want to get a constant space between each letter in the text.
> When I use the courier font which is fixed width font, it works fine. But
> in the case of Serif even if I add to the x co-ordinate the
> extents.width (extents is of type cairo_text_extents_t ) and constant to
> get the uniform spacing, the spacing is non uniform.
> Sometimes there is overlap and sometimes there is too much of space. Could
> you please suggest a solution to solve this problem?
> Is there any option in cairo by which when I give the text I can also
> specify the spacing between each letter in the text?
> I really appreciate the time and help of people in the cairo community
> cairo mailing list
> cairo at cairographics.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cairo