Hi Mathias,
If I mark the text whose font name is displayed incorrectly - and move
the cursor back and forth - the font name does not change.
Alan
Mathias Bauer wrote:
Hi Alan,
if you change the selection (cursor) back and forth after changing the
font - do you get the correct font name displayed?
Regards,
Mathias
Alan Yaniger wrote:
Hi Mathias,
Thanks for your help. I've been working on issue 81333, and I submitted
a patch which changes the font for weak chars in RTL context. The font
is changed properly, but the font box apparently has not been notified
of the change, and I still see the Western font name when I ought to be
seeing the CTL font name. Apparently the change is not detected.
Alan
Mathias Bauer wrote:
Alan Yaniger wrote:
Hi list-members,
If I change the font of text, the control displaying the current font
name gets updated. Where is the code which does this update? (I'm
working on edit engine, not Writer.)
Are you talking about the code that actually changes the name on screen?
That would be the SvxFontListBox.
Or the code that detects the change?
That would be depending on the application. If code changes the font
somewhere in a particular context (e.g. a cell in a spreadsheet or a
drawing object in Writer), the code in the SfxShell class representing
this context will invalidate the status of the corresponding "slot" that
itself represents the functionality "Font name".
Or the code that sends out the notification?
That is in sfx2/source/control/bindings.cxx (SfxBindings::Update_Impl)
where some generic code collects the mentioned "invalidates", retrieves
the status changes and sends them to registered controllers, one of them
being the SvxFontListBox.
Regards,
Mathias
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]