Problem:
Given a character, say ♖ (a white chess rook), how can I get the vertical bearing
(the vertical distance from the baseline to topmost border of the glyph)?
Use case:
The expression (text "♖") creates a pict that draws a white rook.
The goal is to create a mask for the rook - so basically we need to fill the rook.
The outline of the rook is available through get-text-outline which produces
a list of paths that can be filled. This works - but in order to line
the mask and the original (text "♖") up to make a filled rook, information
on how the paths are placed relative to the baseline is needed.
Here is the rook with baseline: