Re: Letter spacing



On Sat, 2005-03-19 at 23:34 +0100, Lars Ræder wrote:
> On Thu, 17 Mar 2005 12:01:35 -0500 (EST),
> gtk-i18n-list-request gnome org <gtk-i18n-list-request gnome org>
> wrote:
> > 
> > Message: 2
> > Date: Thu, 17 Mar 2005 09:27:59 -0500
> > From: Owen Taylor <otaylor redhat com>
> > Subject: Re: [Inkscape-devel] Re: [cairo] Pango + cairo
> > To: Peter Moulder <Peter Moulder infotech monash edu au>
> > Cc: njh hawthorn csse monash edu au, gtk-i18n-list gnome org
> > Message-ID: <1111069679 16785 23 camel huygens>
> > Content-Type: text/plain; charset="us-ascii"
> > 
> > [ Adding gtk-i18n-list back to the CC, since it's quite relevant to
> >   Pango development ]
> > 
> > > On Wed, Mar 16, 2005 at 11:17:26PM -0500, Owen Taylor wrote:
> > >
> > There is also the problem that most features in PangoLayout (letter
> > spacing, tab alignment, forced break, etc) tend to complicate the line
> > breaking ... they all interact to some extent.
> >
> 
> Letter spacing?  I don't see a function or attribute to set that. 
> That might help with our size problem -- could you point me at what to
> use for it?  And no, I wouldn't steal sheep, I already have a nice
> stuffed one.

/**
 * pango_attr_letter_spacing_new:
 * @letter_spacing: amount of extra space to add between graphemes
 *   of the text, in Pango units.
 *
 * Create a new letter-spacing attribute.
 *
 * Return value: the new #PangoAttribute.
 *
 * Since: 1.6
 **/
PangoAttribute *
pango_attr_letter_spacing_new (int letter_spacing);

You can set it in Pango markup with the letter_spacing attribute.

Regards,
						Owen

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]