pango in cairo?

"Hendrik Boom [email protected] [ocaml_beginners]" <[email protected]>
Newsgroups gmane.comp.lang.ocaml.beginners
Message-ID <[email protected]>
I've used cairo before.
I'm having trouble figuring out how to ues pango.

I've found a whole lot of relatednfile on my system:

/usr/lib/ocaml/cairo/libmlpangocairo.a
/usr/lib/ocaml/cairo/pango_cairo.a
/usr/lib/ocaml/cairo/pango_cairo.cma
/usr/lib/ocaml/cairo/pango_cairo.cmi
/usr/lib/ocaml/cairo/pango_cairo.cmx
/usr/lib/ocaml/cairo/pango_cairo.cmxa
/usr/lib/ocaml/cairo/pango_cairo.mli

and the source code in

 /usr/lib/ocaml/lablgtk2/pango.ml

appears to define a lot of useful names.
I have lots of ways to measure fonts and so forth.
But I can't figure out how to actually draw text on a canvas.

Have I missed something online or on my Debian jessie machine?
Google foind me a decde-old message decryinng the lack of pango support.
And the code I foind suggests that matters are far, far better now.

Where should I be looking for examplees or documentation?

-- hendrik
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.