Description: The accent on the capital letter does not look right. In some fonts, the accent on the capital letter looks correct (Liberation Sans, Liberation Serif, etc.). In other fonts, the accent on the capital letter does not look right (DejaVuSans, DejaVuSerif, FreeSans, FreeSerif, Noto Sans, Noto Serif, Ubuntu, etc.). Steps to Reproduce: 1. Opening LibreOffice Writer. 2. Write some capital letters. 3. Specify the accent (character 301) on capital letters. Actual Results: The accent is sometimes displayed incorrectly by dropping into a capital letter. Expected Results: It all depends on the chosen font. Reproducible: Always User Profile Reset: No Additional Info: Ubuntu 21.10 - LibreOffice 7.2.1
Created attachment 178674 [details] Capital letter accent The picture of that looks like an accent on capital letters in the operating system Ubuntu 21.10.
Created attachment 178675 [details] Text document example There is a table inside the text document. The left side of the table contains fonts that do not correctly display accent on capital letters. The right side of the table shows the fonts in which the accent on capital letters is correctly displayed.
Are you sure that’s the correct Unicode encoding? You seem to be using a combining character, and any misalignment is simply caused by individual fonts lacking anchors for positioning (which would make this issue “NOTOURBUG”). Still, we can improve the situation a bit by upgrading our copy of HarfBuzz.
No reply, so assuming this is notourbug.
The Unicode code points are correct, the text is using combining acute accent (U+0301) which should work. Opening the ODT content.xml, one sees things like: <text:p text:style-name="P10">T<text:span text:style-name="T1">́</text:span>est. So the base letter (T) and the accent are in separate spans, which is tracked in bug 61444. But I winder where these spans are coming from, seems similar to bug 113134 (though I’m sure I saw a more general bug open about this but can’t find it).
Repro in 7.2, but not in master, so closing. Arch Linux 64-bit Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: fb39ae1bc7e4b1cbfc3108efca52ec310faf7363 CPU threads: 8; OS: Linux 6.10; UI render: default; VCL: kf6 (cairo+wayland) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: CL threaded Built on 14 September 2024
also => WFM Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 1b61a0737e3600aadf42f28a15c70aface9ab61e CPU threads: 8; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded