[cairo] How can I activate subpixel positioning for text with `pangocairo` and `(py)cairo`?

cecashon at aol.com cecashon at aol.com
Thu May 7 18:05:37 UTC 2020


 

Hi Sebastian,

For transforming and animating fonts you can get the original font points with freetype and draw them with cairo. That will give you more control of the font so that you can transform smoothly in 3d if you want and also be able to still output to .pdf or .svg.

The cairo3d_text.c, cairo3d_text.h and cairo3d_textUI.c in

https://gitlab.com/cecashon/OrderedSetVelociRaptor/-/tree/master/Misc/cairo3d

Some test code that might give you some font drawing ideas.

Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo/attachments/20200507/85956e39/attachment.htm>


More information about the cairo mailing list