Yes,
I am sorry, you're right -- thanks. The "markup" methods work as expected.
I actually use the "encode("UTF-8")" method
to compute the length, but I had a different bug in my code.
S. Vlcek
On 05/15/2017 04:01 PM, infirit wrote:
> Op 15/05/17 om 15:28 schreef Slavomir Vlcek:
>> 3.) However,
Op 15/05/17 om 15:28 schreef Slavomir Vlcek:
> 3.) However, the problem with these "markup" functions is that they are not
> able to crunch
> even a simple unicode string.
>
> This example fails with the Glib.Error for me:
>
> markup_text = "" + "saké" + ""
> ret, attrs, text, acce
Hello,
sorry for the delay and thank your for your answer.
1.) What I do -- I am working on CLI a script
that renders several rectangle objects with corresponding
text strings into the cairo's SVGSurface.
So first, I use cairo to paint some rectangles and then I utilize pango
to a
Op 05/05/2017 om 05:32 PM schreef Slavomir Vlcek:
1.) Please could anyone tell me how to replace the c-based function
"pango_attr_family_new()"? This is one of many functions
that does not seem to have a python equivalent
(according to http://lazka.github.io/pgi-docs/#Pango-1.0/map