Is there a way one can find the position of the "tip" of an arrow character in unicode?
For example I have ↱ and wanna find the position of the ">", so that I can draw the character at the appropriate y-position in my widget.
It depends on the font.
You could try blitting the glyph using a library like FreeType (not sure if Qt has glyph blitters) to an image buffer and then find the right-most pixel which should be the tip.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With