Bug 154104 - Arabic ligatures overlap previous Hebrew character when not marked as Arabic
Summary: Arabic ligatures overlap previous Hebrew character when not marked as Arabic
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Arabic-and-Farsi Hebrew Font-Fallback RTL CTL
  Show dependency treegraph
 
Reported: 2023-03-09 21:15 UTC by Eyal Rozenberg
Modified: 2024-08-19 11:01 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
arabic_and_hebrew_overlap (9.08 KB, application/vnd.oasis.opendocument.text)
2023-03-09 21:15 UTC, Eyal Rozenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2023-03-09 21:15:53 UTC
Created attachment 185872 [details]
arabic_and_hebrew_overlap

Consider the following text:

אאאلا

if you type that into a new Writer document, with the RTL font being David CLM and marked as Hebrew - the لا combined character will overlap the third א, and the אאא sequence will be rendered with a left offset into the line, instead of at the beginning of the line.

This is actually a rather major fault in rendering of plain text.

Seen with:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ad387d5b984c6666906505d25685065f710ed55d
CPU threads: 4; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: he-IL (en_IL); UI: en-US
Comment 1 Eyal Rozenberg 2023-03-09 21:16:56 UTC
May perhaps be related to 154029, via fallback-fonts and the effect of combined characters, I'm not sure.
Comment 2 ⁨خالد حسني⁩ 2023-03-18 17:59:55 UTC
I can reproduce. Would be interesting to know if it is a regression.
Comment 3 ⁨خالد حسني⁩ 2023-06-01 07:58:33 UTC
This seems to be related to font fallback, if the “Complex” font is set to a font that has Arabic, no overlap happens.
Comment 4 Eyal Rozenberg 2023-06-01 18:33:43 UTC
Khaled, do you think we should have a sub-meta-bug of Fonts, for Fallback-font-related issues?
Comment 5 ⁨خالد حسني⁩ 2023-06-04 13:49:54 UTC
(In reply to Eyal Rozenberg from comment #4)
> Khaled, do you think we should have a sub-meta-bug of Fonts, for
> Fallback-font-related issues?

It wouldn’t hurt, I guess.
Comment 6 Eyal Rozenberg 2024-08-19 11:01:32 UTC
Happens in textboxes and in Impress, doesn't seem to happen in Calc (although I've not checked extensively).