Description: When I open the attachment file (202330) for bug 167962, the characters are placed in a different location. Steps to Reproduce: 1.Open attachment file https://bugs.documentfoundation.org/attachment.cgi?id=202330 Actual Results: be misaligned. Exporting to PDF has extra spaces. Expected Results: The characters on one line are aligned Reproducible: Always User Profile Reset: No Additional Info: bibisected with linux-64-26.2 first bad Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 77a799f556b2fdeac06c9652c0085995f81cd910 CPU threads: 4; OS: Linux 6.14; UI render: default; VCL: kf5 (cairo+xcb) Locale: ja-JP (ja_JP.UTF-8); UI: en-US Calc: threaded
Created attachment 202331 [details] Screenshot(writer-pdf)
adding CC:Xisco Fauli Please, take a look? This may be a bug in halfbuzz, but I'm having trouble with the Japanese italicization.
Reproduced not only in Japanese but also in Chinese. Version: 25.8.1.0.0+ (X86_64) / LibreOffice Community Build ID: 8b236227976b3b5c78afc916ea4acefd4b4b8c58 CPU threads: 8; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win Locale: ja-JP (ja_JP); UI: ja-JP Calc: CL threaded Jumbo --- Not reproduced. Version: 24.8.7.2 (x86) / LibreOffice Community Build ID: e07d0a63a46349d29051da79b1fde8160bab2a89 CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win Locale: ja-JP (ja_JP); UI: ja-JP Calc: CL threaded Version: 25.2.5.2 (X86_64) / LibreOffice Community Build ID: 03d19516eb2e1dd5d4ccd751a0d6f35f35e08022 CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win Locale: ja-JP (ja_JP); UI: ja-JP Calc: CL threaded Jumbo
(In reply to Takenori Yasuda from comment #3) > Reproduced not only in Japanese but also in Chinese. => NEW
This seems to have begun at the below commit in bibisect repository/OS linux-64-25.8. 3959c0339dc5a1e89df927cd3e5dc8de11ee4dbf is the first bad commit commit 3959c0339dc5a1e89df927cd3e5dc8de11ee4dbf Author: Jenkins Build User <tdf@maggie.tdf> Date: Mon Aug 4 15:42:41 2025 +0200 source 150bf27c032f615453df8d5da71d86fa767c30de 188745: harfbuzz: upgrade to 11.3.3 | https://gerrit.libreoffice.org/c/core/+/188745
Confirmed, this is a regression in HarfBuzz. $ hb-view --direction=ttb --font-slant=0.2 NotoSerifCJK-Regular.ttc この言葉は I see the expected output with my system HarfBuzz 10.2.0, but with HarfBuzz 12.1.0 the first kana is shifted out of line with the following characters.
(In reply to Jonathan Clark from comment #6) > Confirmed, this is a regression in HarfBuzz. > > $ hb-view --direction=ttb --font-slant=0.2 NotoSerifCJK-Regular.ttc この言葉は > > I see the expected output with my system HarfBuzz 10.2.0, but with HarfBuzz > 12.1.0 the first kana is shifted out of line with the following characters. Reported upstream https://github.com/harfbuzz/harfbuzz/issues/5628
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/68822e1bfe0ed83766f4166f8162aacc7e392191 tdf#167963: patch upstream fix It will be available in 26.2.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.
Closing as FIXED since the upstream patch has been patched in LibreOffice
Xisco Fauli committed a patch related to this issue. It has been pushed to "libreoffice-25-8-3": https://git.libreoffice.org/core/commit/ea49312254c953f9183c015727a8d8e01aa4bf7f tdf#167963: patch upstream fix It will be available in 25.8.3. 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 "libreoffice-25-8": https://git.libreoffice.org/core/commit/84681c65b2b101c7f86da4fe331f3208fc6cb053 tdf#167963: patch upstream fix It will be available in 25.8.4. 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.