[E-devel] Detecting textblock reflow?

2024-02-05 Thread David Grubb
Hi everybody, I'm hacking on a small project and I'm curious about some of the attributes of the TextBlock object that I'm not understanding from the documents. Is it possible to programmatically detect the geometry of the rendered text within a TextBlock? Say, I have a non-monospaced font, I've

Re: [E-devel] Detecting textblock reflow?

2024-02-05 Thread Ali Al-Zyoud
Hello David, It has been ages since I touch text-block code :-) , so I will try to remember things well. TextBlock internally layout and calculates the text size, and how it will fit internally. there could be some conditions that prevent it from calculating, like if it is visible or not (to save

Re: [E-devel] Detecting textblock reflow?

2024-02-05 Thread Carsten Haitzler
On Mon, 5 Feb 2024 10:21:38 -0600 David Grubb said: > Hi everybody, > > I'm hacking on a small project and I'm curious about some of the attributes > of the TextBlock object that I'm not understanding from the documents. Is > it possible to programmatically detect the geometry of the rendered te

Re: [E-devel] Detecting textblock reflow?

2024-02-05 Thread David Grubb
Thanks very much for your replies, everybody. This has all been very useful information. :) Ali, you were correct that the issue I was having with evas_object_textblock_size_native_get() was due to the object not being visible when I ran the function. I've gotten used to other functions applying w