Open duwangthefirst opened 2 years ago
I don't think it's possible to do with plain pycairo, instead, you should use something like Pango for doing it. Also, I don't think there exists any binding for Pango with Python that can be used with pycairo. I think something like cairocffi + pangocairocffi can be used, I could see an example here.
hth
I've implemented horizontal text rendering, the code is as below: (but how could I draw text vertically(not rotating for 90 or 270 degree))