<p dir="ltr"><br>
On Jul 12, 2016 03:02, "Fan, Chun-wei (范君維)" <<a href="mailto:fanc999@yahoo.com.tw">fanc999@yahoo.com.tw</a>> wrote:<br>
><br>
> Hi<br>
><br>
><br>
> Lawrence D'Oliveiro 於 2016/7/12 上午 06:51 寫道:<br>
>><br>
>> On Mon, 11 Jul 2016 21:45:46 +0200, Arjen Nienhuis wrote:<br>
>><br>
>>> I tried to upgrade my python/cairo/pango web-app to python3 without<br>
>>> much success. What can I use?<br>
>><br>
>> Are there Python bindings for Pango? (Not that I’ve used it...)<br>
><br>
> In order to use Pango in Python 3.x, one needs to make use of PyGObject 3.x with gobject-introspection.  The Python 2.x bindings for Python can be used either with PyGObject 3.x and gobject-introspection or with PyGObject 2.28.6+PyGTK 2.24, which includes bindings for Pango.</p>
<p dir="ltr">I might be mistaken, but it seems that 'gi' doesn't support the image back end.</p>
<p dir="ltr">><br>
>> If you didn’t need Pango, I’d recommend Qahirah, my high-level Python<br>
>> binding for Cairo <<a href="https://github.com/ldo/qahirah">https://github.com/ldo/qahirah</a>>. My aim was to<br>
>> create a graphics API as though Cairo had been designed to be used<br>
>> natively from Python rather than C.<br>
></p>
<p dir="ltr">I might check this out. Maybe I can add pango support.</p>
<p dir="ltr">><br>
> With blessings, and cheers!<br>
><br>
> -- <br>
> cairo mailing list<br>
> <a href="mailto:cairo@cairographics.org">cairo@cairographics.org</a><br>
> <a href="https://lists.cairographics.org/mailman/listinfo/cairo">https://lists.cairographics.org/mailman/listinfo/cairo</a></p>