Description: This bug is a regression identified while investigating bug 166152. When character compression is enabled in Asian layout, Edit Engine may render CJK text with overlapping glyphs in certain situations. Steps to Reproduce: 1. Open attachment 200318 [details] from bug 166152. 2. Copy all of the text in the document. 3. Create a new Calc spreadsheet. 4. From Tools -> Options -> Languages and Locales -> Asian Layout, enable "Compress punctuation and Japanese Kana". 5. Paste the previously-copied text into the top-left cell without formatting. 6. Double click the cell to begin editing. 7. Zoom in and out. You should see characters overlapping. Actual Results: CJK characters overlap. Expected Results: CJK characters should not overlap. Reproducible: Always User Profile Reset: No Additional Info: Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: eccf4cd57a1970b296e12296bf0f5a0f52e917a7 CPU threads: 32; OS: Linux 6.11; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded
Created attachment 200345 [details] Screenshot after following repro instructions This screenshot shows the bug, to aid reproduction. The overlapping characters are under the E header, toward the right. In the screenshot, it looks like a white blob due to the number of characters that are overlapping. It doesn't always look exactly like this.
Bisected to the following commit: commit 11b15571475414ef853e21a6c96afa2ac81f848f Author: Noel Grandin <noel.grandin@collabora.co.uk> Date: Wed Oct 30 09:51:26 2024 +0200 convert KernArray from sal_Int32 to double
Set to new as I can reproduce the bug as mentioned in bug 166152.