Bug 147798 - Capital letter accent
Summary: Capital letter accent
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Font-Rendering
  Show dependency treegraph
 
Reported: 2022-03-06 12:02 UTC by Linux
Modified: 2022-12-28 18:55 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Capital letter accent (54.02 KB, image/png)
2022-03-06 12:04 UTC, Linux
Details
Text document example (12.40 KB, application/vnd.oasis.opendocument.text)
2022-03-06 12:07 UTC, Linux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Linux 2022-03-06 12:02:49 UTC
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
Comment 1 Linux 2022-03-06 12:04:48 UTC
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.
Comment 2 Linux 2022-03-06 12:07:47 UTC
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.
Comment 3 Adolfo Jayme Barrientos 2022-03-14 04:35:27 UTC
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.
Comment 4 Buovjaga 2022-12-20 11:31:59 UTC
No reply, so assuming this is notourbug.
Comment 5 ⁨خالد حسني⁩ 2022-12-20 18:21:38 UTC
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).