Description: Different kerning between ODT & DOCX of the same file Steps to Reproduce: 1. Open the attached file 2. Set zoom to 217 or 120 (didn't try other variants) 3. Export the ODT to DOCX 4. File reload 5. Reopen ODT as second file 6. Switch back and forward in taskbar between both windows FWIW: The value of this is documenting number of ways of testing kerning issues. The existence of the problem as such is well-known. Actual Results: Different kerning Expected Results: Same Reproducible: Always User Profile Reset: No Additional Info: Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 1bb0e177124d5d6661b72df6c7d848fb23639652 CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win Locale: nl-NL (nl_NL); UI: nl-NL Calc: threaded
Created attachment 177231 [details] Example file
I confirm it with Version: 7.2.5.2 (x64) / LibreOffice Community Build ID: 499f9727c189e6ef3471021d6132d4c694f357e5 CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL although it is almost unvisible. Telesto, if you write "The existence of the problem as such is well-known." I don't know why we need a new bug report (don't have time to check for duplicates or rlated bugs). Would be nice, if you could at least refer to some other reports.
Created attachment 177608 [details] Example file (modified, with negative kerning)
Created attachment 177609 [details] Screencast The O of LibreOffice moves.. Spacing between O and F is slightly better in DOCX Also the 'u' of bug
Created attachment 177610 [details] Example file 3 with Calibri
Created attachment 177611 [details] Screencast The "Li" & "Off" of LibreOffice and the r of Writer
@Caolan This has become nitpick report. With Classic rendering you could easily tell. Currently you have look very closely to see any difference.. I don't think it's worth any effort.. However I do find it curious.. ODT/DOC doesn't deviate and renders identical.
In the docx use tools, options, writer, compatibility and turn on "Use printer metrics for document formatting" and they should then line up. In the export and reload as doc case this setting is already on (and so matching the original odt) but in the docx case this is missing so we're missing the docx import and/or export of this feature (assuming docx supports it, which I assume it does) so this one is a file filter issue
https://gerrit.libreoffice.org/c/core/+/128510
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/5d40e80926a309a0765023d0014fda1adce7ad63 tdf#146515 export "Use printer metrics for document formatting" to docx It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
done in trunk, backport to 7-3 in gerrit
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-7-3": https://git.libreoffice.org/core/commit/2d80e871034dcab71f6324044ad810e057b185d1 tdf#146515 export "Use printer metrics for document formatting" to docx It will be available in 7.3.1. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/531f30b7387e45cc4616a92023fe0a6209f16192 tdf#146515: sw_ooxmlexport4: Add unittest It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
VERIFIED with Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 651ff4f195804b206941e6316c5120a914d28b6b CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL Caolán, thanks for fixing it!