https://bugs.documentfoundation.org/show_bug.cgi?id=155297
--- Comment #5 from خالد حسني <[email protected]> --- (In reply to Stéphane Guillou (stragu) from comment #4) > MS Office has the paragraph with "Kashida" justified settings, whereas LO > has it right-aligned. > Line spacing setting is the same in both (single line). > > LO has text not justified, and a thinner line spacing. > > Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community > Build ID: fc4f7db59152f606b6aa88cf32197700959d0f8b > CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 > Locale: en-AU (en_AU.UTF-8); UI: en-US > Calc: threaded > > Same in 6.0.0.3, but line spacing was respected back in OOo 3.3. > > Khaled, what do you think? No idea about the lost justification settings, but the line metrics issue can be explained. For historical reasons, fonts have three sets of line spacing settings. The font has two of them equal to each other (Windows GDI will select one of these, and older versions of LibreOffice got the values from Windows GDI), and the last set has smaller line spacing. We end up using that last set for complicated reasons and we don’t want to touch this code anymore because whatever the way we change it will break some font. We have an escape hatch where we can specify that certain fonts should use the values that Windows GDI uses, so we can do this here. Users should be able to do this yourself from the expert configuration dialog (search for FontsUseWinMetrics), but this is currently broken and works only for fonts already specified in the configuration. I suggest keeping this bug to track the line metrics issue, and open a new one for the lost justification setting. -- You are receiving this mail because: You are the assignee for the bug.
