The code works and is mergeable, but it doesn't do what you outlined here.
I tried using ED_area_status_text
,…
After doing some research, I found this code responsible for writing the text on the left side of the header while grabbing, rotating etc. : [headerRotation()
](https://projects.blender.org/blende…
transform_point
and invert
I did U.rvisize * 1.2f
, and it works! Still don't know what to do with the U.pixelsize though, since it's 0 and multiplying it would mean the product becomes 0.
![image](/attachments/78a19b22-…
Weirdly enough, U.pixelsize
seems to be 0 for me. U.rvisize
works though!
It's a little too exact though, should I add an extra offset on top of the rvisize?
![image](/attachments/4f3b0…
Sorry about the delay, I was busy with some other stuff.
Simply changing the font_id
to BLF_set_default()
from BLF_default()
seems to fix the issue!
I have updated the commit to…
OB_GPENCIL
and ID_GD