RE: Pango in Win32



On Mon, 2007-11-05 at 14:33 -0600, ext-tim 1 xu nokia com wrote:
> Thanks a lot! Another question:
> If I have a font file (i.e. *.ttf), how can I load it into pango and use
> it for drawing some unicode string into a bitmap?
> Is there some sample code?

Unfortunately that's not currently possible.  I'm slowly working on it
though, will be in a future version of Pango:

  http://bugzilla.gnome.org/show_bug.cgi?id=347237

behdad


> -Tim 
> 
> >-----Original Message-----
> >From: Behdad Esfahbod [mailto:behdad esfahbod gmail com] On 
> >Behalf Of ext Behdad Esfahbod
> >Sent: Monday, November 05, 2007 11:42 AM
> >To: Xu Tim.1 (EXT-SoftwareProductivityCentre/Vancouver)
> >Cc: gtk-i18n-list gnome org
> >Subject: Re: Pango in Win32
> >
> >On Mon, 2007-11-05 at 14:40 -0500, Behdad Esfahbod wrote:
> >> On Mon, 2007-11-05 at 12:28 -0600, ext-tim 1 xu nokia com wrote:
> >
> >> >         2) How do i create a PangoGlyphString out of a 
> >given Unicode
> >> >         String in combination with a created PangoFont? 
> >> 
> >> pango_itemize() followed by pango_shape().
> >
> >You may want to check this presentation out:
> >
> >  http://behdad.org/download/Presentations/allyourfonts/fonts.pdf
> >
> >--
> >behdad
> >http://behdad.org/
> >
> >"Those who would give up Essential Liberty to purchase a 
> >little  Temporary Safety, deserve neither Liberty nor Safety."
> >        -- Benjamin Franklin, 1759
> >
> >
> >
> >
-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759





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