Re: [gtkmm] problems with pango
- From: murrayc t-online de (Murray Cumming)
- To: Morus Walter <morus walter gmx de>
- Cc: gtkmm-list <gtkmm-list gnome org>, Daniel Elstner <daniel elstner gmx net>
- Subject: Re: [gtkmm] problems with pango
- Date: 29 Oct 2002 08:10:08 +0100
On Mon, 2002-10-28 at 19:12, Morus Walter wrote:
> Murray Cumming writes:
> > On Sun, 2002-10-27 at 21:10, Daniel Elstner wrote:
> > > Am Son, 2002-10-27 um 16.40 schrieb Morus Walter:
> > > > - the method Gdk::Drawable::draw_glyphs, which is used for low level
> > > > text rendering, takes a c pointer PangoGlyphString* glyphs instead of
> > > > a Pango::GlyphString object.
> >
> > I suspect that that's actually an array of PangoGlyphStrings.
> >
> I don't think so.
> The documentation (http://developer.gnome.org/doc/API/2.0/pango/pango-text-processing.html#pango-shape) says
> void pango_shape (const gchar *text,
> gint length,
> PangoAnalysis *analysis,
> PangoGlyphString *glyphs);
> ...
> glyphs : glyph string in which to store results
That's the API docs for pango_shape(), not draw_glyphs(). You need this
instead:
http://developer.gnome.org/doc/API/2.0/gdk/gdk-drawing-primitives.html#gdk-draw-glyphs
The drawable.hg file already contains a comment about this, so I see no
need to keep that bug open.
--
Murray Cumming
murray usa net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]