Description: In LibreOffice 7.5, the text alignment issue with strikethrough is happened again. In this case both Tangut and Nuosu scripts get affected again. Steps to Reproduce: 1. Insert text boxes with vertical text layout set 2. Insert Nuosu and Tangut sample texts respectively 3. See the error Actual Results: All these characters shift to right relative to the strikethrough. Expected Results: In vertical text layout, all upright glyphs should be proper aligned as the following sample: https://drafts.csswg.org/css-writing-modes-4/#vertical-metrics Reproducible: Always User Profile Reset: No Additional Info: Version: 7.5.4.2 (X86_64) / LibreOffice Community Build ID: 36ccfdc35048b057fd9854c757a8b67ec53977b6 CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: zh-CN (zh_CN); UI: zh-CN Calc: threaded Test font: Nuosu SIL https://software.sil.org/nuosu/ Tangut N4694 http://www.ccamc.co/fonts_tangut.php
Created attachment 188096 [details] Test file
Created attachment 188097 [details] Screenshot
Created attachment 188098 [details] Test font You can get all test fonts here.
Is this a regression? If so when was it working correctly?
I saw it have been fixed in 7.2.
Bibisected to: commit ba03e033d1be4bc49f2a8d6afbeecd381507b242 Author: Khaled Hosny <khaled@aliftype.com> Date: Fri Sep 30 18:36:59 2022 +0200 vcl: Use font’s underline/strike position and size These are font bugs. Nuosu SIL has OS/2.yStrikeoutPosition = 512 and Tangut N4694 has it = 249 and both values are too low. This also affects horizontal text. I suggest you report this issue to upstream font developers. You can also restore the old behavior by adding the font family names to FontsDontUseUnderlineMetrics from expert configuration.