https://bugs.documentfoundation.org/show_bug.cgi?id=151748

--- Comment #13 from خالد حسني <[email protected]> ---
(In reply to Hossein from comment #12)
> (In reply to خالد حسني from comment #11)
> > If some one is looking for code pointers, look for GetMinKashida() use under
> > sw/, and try to locate the corresponding code under editeng/ and make it do
> > something similar with GetMinKashida().
> 
> I am certainly interested in fix this issue. :-)
> 
> It seems to be this part of the code:
> https://opengrok.libreoffice.org/xref/core/editeng/source/editeng/impedit3.
> cxx?r=f9395a12#2270
> 
> Commenting 10 lines from 2272 to 2281 out removes the kashida completely.

Yes. Now this code does not check if the adjustment being added against Kashida
glyph width.

I think the simpler adjustment is to check if nMore4Everyone >=
MinKashidaWidth(), else drop all kashida positions. A smarter fix is to drop
enough Kashida positions to make the condition is true. None of this is tested,
so their might be extra complication, and it might be god idea to check what
Writer does (I haven’t checked what it does exactly, to be honest) and do
something similar for consistency.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to