Re: A text editor with Pango and Xft

Hi Noah,

Thanks a lot for your reply. 

I was just scared of using the low-level interface of
Pango after reading the warning associated with the
function pango_reorder_items () in this page:

It's written there:
"Please mail otaylor redhat com if you use this
function. It is not a particularly convenient
interface, and the code is duplicated elsewhere in
Pango for that reason"

I've two options. First, to write the
pango_xft_render_layout(). Second, I'll use Pango just
to convert UTF-8 strings to glyph strings and I'll
take care of the layout myself. Can I go for the
second option? Please let me know of your opinion.



--- Noah Levitt <nlevitt columbia edu> wrote:
> Hi Jyotirmoy,
> I doubt such an editor exists.
> Using pango with Xft directly entails writing the
> equivalent
> of pango_xft_render_layout, which should be quite
> doable.
> Once you do that, you mostly use the regular
> high-level API.
> Noah
> On Fri, Jan 16, 2004 at  5:35:15 -0800, Jyotirmoy
> Saikia wrote:
> > Hi,
> > 
> > I need a text editor which is written using Xlib
> (no
> > GTK) and which is integrated with Pango to render
> all
> > Indic scripts. (I need this editor for a hand-held
> > device where there is memory-restriction to put
> GTK.)
> > 
> > Does any such editor already exist? If not, then I
> may
> > need to write one. But I've come to know that the
> > PangoLayout object is not defined for Xft! Without
> > this abstraction, how difficult is it to use Pango
> > with its low-level interface? (pango documentation
> > says that it's not very convenient!) Is there any
> > known application which uses Pango with the
> > Xft-backend? 
> > 
> > Thanks.
> > 
> >   Jyotirmoy
> _______________________________________________
> gtk-i18n-list mailing list
> gtk-i18n-list gnome org

Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes

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