[04:12:52] <danostrowski> Hey all. Is pycairo basically the only Python library for text manipulation? I'm looking to anchor multiple lines of text so they're evenly spaced, kind of like you would do in a word processor. Pillow can allow you to write text, but doesn't seem to have functionality like this, nor does it seem to expose enough information about text that it's written/could write.
[06:14:12] <wiredfool> danostrowski: there have been some changes to freetype support that make it possible to get bounding boxes for text strings
[06:14:28] <wiredfool> and I do believe that multi line text is treated correctly
[06:58:08] <danostrowski> wiredfool: oh, so just hmm... yeah, I could use \n
[06:58:17] <danostrowski> wiredfool: bounding boxes aren't really sufficient to line up baselines though.
[06:58:26] <danostrowski> you'd need more information about the glyphs themselves or the font, anyhow.
[06:59:42] <wiredfool> The information is at least at the c-api layer, and could probably be exposed with little trouble
[07:14:06] <wiredfool> dunno if FreeTypeFont.getmetrics would be enough