Re: Thai script in Pango



Hi Robert,

I put the following statements in thai.c and the test program didn't print
the message or even in the infinite loop. Seems like the module isn't even
been called.

static ThaiFontInfo *
get_font_info (PangoFont *font)
....
....

      n_subfonts = pango_x_list_subfonts (font, (char **)charsets, G_N_ELEMENTS 
(charsets),
                                          &subfont_ids, &subfont_charsets);
/* chookij */
      g_print("\n[n_subfonts = %d]\n", n_subfonts);
	for (;1;);

....
}

Chookij V.


] Date: Mon, 09 Oct 2000 22:54:47 +0100 (BST)
] From: Robert Brady <robert suse co uk>
] Subject: Re: Thai script in Pango
] X-Sender: robert janus arrow
] To: Chookij Vanatham <chookij vanatham eng sun com>
] Cc: gtk-i18n-list gnome org
] MIME-version: 1.0
] 
] On Mon, 9 Oct 2000, Chookij Vanatham wrote:
] 
] > I'd like to try to debug Pango so that I can help tracking down what I need
] > to do. Please let me know how to start it as well.
] 
] Probably a good thing to do would be to see what is going on in
] get_font_info in thai.c.  In particular, what the result of  
] pango_x_list_subfonts is.
] 
] -- 
] Robert
] 





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