Re: Pango and text handling in GTK+.

On Fri, 26 Jul 2002, Zenith Lau wrote:
> Hello,
> 	I'd like to ask that, does pango is solely a underlying layer
> 	beneath GTK+? Only GTK function will call pango stuff?? Or we can
> 	use pango in our code? In what case I should use pango directly?

You can also use the FreeType backend supposedly without GTK.  PAPS, a
postscript printing program, does exactly that:

bash-2.05$ ldd paps => /usr/lib/ (0x40024000) => /usr/lib/ (0x40051000) => /usr/lib/ (0x40081000) => /usr/lib/ (0x400b9000) => /lib/ (0x400bd000) => /usr/lib/ (0x400c1000) => /lib/ (0x40125000) => /usr/lib/ (0x40248000)
        /lib/ => /lib/ (0x40000000)

Notice no GTK, no X, no nothing.

Look at
in particular you should start with pango_ft2_get_context() and work from

> 	Yet, I can see the screenshot in, which different
> 	script is displayed. Does it means that, gtk2 can now provide
> 	some m17n features (for displaying different script at the same
> 	time) ?



Lars Clausen (| Hårdgrim of Numenor
"I do not agree with a word that you say, but I   |----------------------------
will defend to the death your right to say it."   | Where are we going, and
    --Evelyn Beatrice Hall paraphrasing Voltaire  | what's with the handbasket?

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