Re: further notes on using Pango

From: Andrew Dunbar (
Date: Fri Apr 26 2002 - 12:04:39 EDT

  • Next message: F J Franklin: "Reality check (Re: further notes on using Pango)"

     --- Tomas Frydrych <>
    wrote: > Hi Andrew,
    > > Does this mean we'll have to do some actual
    > > experimentation with Pango to see if it's really
    > going
    > > to be viable. If it doesn't work straight away
    > we'll
    > > have no working build. Since we're going to be
    > using
    > > FreeType/OpenType either directly or indirectly
    > (via
    > > Pango). If we need to enhance Pango before it
    > works
    > > for us, what will happen in the meantime? I
    > thought
    > > going with dual FreeType/OpenType vs. Pango builds
    > > might be the only way until Pango does what we
    > want.
    > I think using the low-level functions in Pango is
    > viable, the only
    > thing that we cannot estimate is the performance,
    > but the Pango
    > calls will be fairly infrequent, we have a fairly
    > decent caching
    > mechanism in the fp_TextRun. But yes, we will have a
    > non-working
    > AW for a while, one way or other, which is why we
    > wanted the 1.0
    > release first. (I do not think we just have the
    > resources to develop
    > and maintain FreeType Pango-less build and a Pango
    > build.)

    We don't necessarily have to maintain them equally.
    We do what we need to the part we need when we can.
    Much like with the ispell/pspell code. Some people
    may prefer to work on one than the other. At various
    points one may be the semi-official working one and
    it may be leapfrogged as we encounter specific
    problems. As for resources this is such a key
    component that I think most of the key developers are
    going to have to learn something about either Pango or
    FreeType. It certainly won't be possible to do
    properly with just one guy like the bidi build.
    Well maybe possible but maybe not a great idea.

    > > And if Pango gives us generic stuff such as line
    > > breaks and combining characters and selection then
    > it will be
    > > of use even for those not using Arabic/Hebrew.
    > Shaping
    > > isn't the whole of Pango.
    > Well, as far as I understand, the low-level API
    > gives us pretty much
    > only shaping, in the broader sense of the word with
    > combination
    > characters, etc. You feed it the Unicode string and
    > it spits out the
    > the rendered bitmap.

    Somebody stated in this discussion that it only gave
    us back a sequence of glyph indexes and didn't do
    the bitmap - that the bitmap was left to FreeType...

    Andrew Dunbar.

    > Tomas
    > *********************************************
    > /
    > PGP keys:


    Do You Yahoo!?
    Everything you'll ever need on one web page
    from News and Sport to Email and Music Charts

    This archive was generated by hypermail 2.1.4 : Fri Apr 26 2002 - 12:06:12 EDT