Re: Pango Rendering API
- From: Noah Levitt <nlevitt columbia edu>
- To: soheil hassas yeganeh <hassas ce sharif edu>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Pango Rendering API
- Date: Sun, 17 Aug 2003 12:20:37 -0400
I haven't tried this myself, but I would think you need to
do something like the following:
context = pango_xft_get_context ()
layout = pango_layout_new ()
pango_layout_set_text ()
Then, pango_xft_render in a loop. Unfortunately, there is no
pango_xft_render_layout (see http://bugzilla.gnome.org/show_bug.cgi?id=118515)
so I would suggest you copy the pango_ft2_render_layout
function and modify it to do Xft.
Noah
On Sat, Aug 16, 2003 at 16:50:29 +0430, soheil hassas yeganeh wrote:
Dear All
I call the pango rendering API directly from a gtk+ application
I first user pango_itemize routine, after, pango_shape routine, and after
i call the pango_xft_render, but i doesn't show anything on the main frame
!!!
What can i do to render the text directly by pango API ????
Regards
Soheil Hassas Yeganeh
Sharif Univ. of Tech.
Teh. Iran
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]