So, I just realised the stuff I’m fighting with right now is screenshotable, so here you go:
- the text is, well, text; it’s supposed to be stacked this way (and to get an actual vertical layout, you just rotate the cairo drawable).
- Colourful Boxes are bounding boxes, you can see how it sort of does a wrong idea of where the glyphs lie. This is because the rotation done on glyphs, and their origin point is in a corner, instead of the centre.
I’m currently trying to compensate for this, but that’s actually not easy, as PangoGlyphGeometry holds the width, but not height. So fixing horizontal shift is easy, vertical is not. Especially because there’s this bug where a valid (because it’s used one line below with no problems) pointer to PangoFont can’t be cast to GObject.
Update: So, yeah, taking an address of a pointer doesn’t always yield the desired results. But it still doesn’t really work, and Behdad is out to Barcelona, *grumble*.