Re: Pango?

From: Tomas Frydrych (tomas@frydrych.uklinux.net)
Date: Thu Apr 25 2002 - 05:22:05 EDT

  • Next message: Tomas Frydrych: "Re: undo and combining characters"

    > > It seems to me we want pango to do 4 things.
    > > 1. Draw a run at a certain location of a graphics class.

    If you want Pango to do the drawing you need to use the high-level
    formater; if we use the low-level stuff, we would do the drawing
    ourselves, just as we do now.

    > > 2. Measure the width of a run (string of text).
    > > 3. Measure the height of a run.

    With the low-level API we would do this ourselves, as we do now.

    > It would also be nice if Pango could draw the selected
    > versus non-selected parts of the text, including
    > combining characters, in different foreground and
    > background colours. If it couldn't we'd also need a
    > way to get widths of substrings so we could do it ourselves.

    See comment on point 1.

    > Line breaking is difficult. We need to do it
    > properly one way or another. I've mentioned using
    > ICU before - it's open sourced by IBM. What's
    > peoples' opinions on this?
    It is an option, but either you use Pango or ICU. But the ICU library
    is somewhat bulky from what I have seen.

    > > OK I'll try to find time to thoruoghly investigate
    > > the pango api. I was hoping to leave to you guys!
    Martin, the API is not an issue at the moment, so do not vaste
    your time. Pango needs to be protable first, and we need to find out
    how much work we would have to put in to make it portable, and if
    we have the resources and expertize to pull that off (see my
    posting addressed to Havoc).

    > > I agree again. I don't know if printing has been
    > > thought all the way
    > > through. Someone remarked that pango next generation
    > > would have a printing component.

    Next genration, as in 24th century? No, seriously, can we afford to
    budget with functionality that is not there?

    Tomas



    This archive was generated by hypermail 2.1.4 : Thu Apr 25 2002 - 05:27:29 EDT