Qt 6.11 is out! See what's new in the release
blog
Get font in QTextEdit where cursor is?
-
I'm able to determine full font info in a QTextEdit only when a section of text is selected.
How can I get the full font info when the cursor is between two characters?
I can read the font family but not the font size... -
I'm able to determine full font info in a QTextEdit only when a section of text is selected.
How can I get the full font info when the cursor is between two characters?
I can read the font family but not the font size...@clarify
Dont these functions work for you?
-
@clarify
Dont these functions work for you?
@Pl45m4
Yes what I came to realize is that sometimes I have to read out the pixel size and sometimes the point size. It's almost unpredictable which one will be valid at any given point. It seems like a bug.