Bug 133184 - Arabic Tatweel disconnected from following letter when surrounded with Japanese quotation marks
Summary: Arabic Tatweel disconnected from following letter when surrounded with Japane...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.3.5.2 release
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Font-Rendering RTL-Arabic
  Show dependency treegraph
 
Reported: 2020-05-19 22:15 UTC by kazuki.shimomura
Modified: 2021-11-12 16:53 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Examples : Wrong Arabic appearance (44.76 KB, application/pdf)
2020-05-19 23:09 UTC, kazuki.shimomura
Details
Screenshot of Arabic characters with 6.3.5 and English UI (12.84 KB, image/png)
2020-05-20 00:07 UTC, Ming Hua
Details
Schererazade font: non-arabic diacritics for arabic letters (24.22 KB, image/png)
2020-05-20 14:10 UTC, Kamil Landa
Details
I tried CtrlV first example (15.70 KB, image/png)
2020-05-20 14:24 UTC, Kamil Landa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kazuki.shimomura 2020-05-19 22:15:18 UTC
Description:
When I write Arabic within Japanese citation signs (「 & 」),
Arabic letters do not appear properly.

For example 「ـنـ」「ـلـ」「ــز」.

Arabic Font: Scheherazade.

Actual Results:
 

Expected Results:
 


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: ja
Module: SpreadsheetDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: no

バージョン: 6.3.5.2 (x64)
Build ID: dd0751754f11728f69b42ee2af66670068624673
CPU threads: 4; OS:Windows 10.0; UI render: default; VCL: win; 
ロケール: ja-JP (ja_JP); UIの言語: ja-JP
Calc: threaded
Comment 1 Ming Hua 2020-05-19 22:38:40 UTC
Thanks for reporting.  Would you please provide a screenshot of the proper display of the Arabic characters (presumably without the Japanese quotation marks) and the improper ones?  This will help people who don't know Arabic at all to do bug triaging.
Comment 2 kazuki.shimomura 2020-05-19 23:09:25 UTC
Created attachment 161018 [details]
Examples : Wrong Arabic appearance
Comment 3 kazuki.shimomura 2020-05-19 23:16:01 UTC
(In reply to Ming Hua from comment #1)
> Thanks for reporting.  Would you please provide a screenshot of the proper
> display of the Arabic characters (presumably without the Japanese quotation
> marks) and the improper ones?  This will help people who don't know Arabic
> at all to do bug triaging.

Thanks for your comments.

This is first time for me to report a bug concerning LibreOffice.

And now I noticed that I can attach some attachments as a part of a bug report.

I hope this information may help engineers to fix it.
Comment 4 Ming Hua 2020-05-20 00:07:35 UTC
Created attachment 161020 [details]
Screenshot of Arabic characters with 6.3.5 and English UI

Thanks for the screenshots.  I don't know much about Arabic but I can see there is something wrong about smoothly connecting the characters.

However I can not reproduce with 6.3.5 and English UI on Windows 10:
Version: 6.3.5.2 (x64)
Build ID: dd0751754f11728f69b42ee2af66670068624673
CPU threads: 2; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: zh-CN (zh_CN); UI-Language: en-US
Calc: threaded

The characters seems all connected properly, with or without quotation marks.

Also, which Sheherazade font are you using?  In my screenshot I used the one downloaded from https://software.sil.org/scheherazade/ , but they look rather different from your screenshot.
Comment 5 Kamil Landa 2020-05-20 14:10:51 UTC
Created attachment 161041 [details]
Schererazade font: non-arabic diacritics for arabic letters
Comment 6 Kamil Landa 2020-05-20 14:12:20 UTC
I tried it for czech diacritics and arabic letters are disjoined, because Scheherazade doesn't have combinations for arabic letters and non-arabic  diacritics. 

Version: 7.0.0.0.alpha1+ (x64)
Build ID: 442c7b95e2ee94b66a9854d0cb22f8ecb76532c6
Vlákna CPU: 8; OS: Windows 10.0 Build 17763; Vykreslování UI: Skia/Vulkan; VCL: win; 
Locale: cs-CZ (cs_CZ); UI: cs-CZ
Calc: CL
Comment 7 Kamil Landa 2020-05-20 14:24:27 UTC
Created attachment 161042 [details]
I tried CtrlV first example

I haven't any japanese font, but i tried to put your first example to Writer and result is correctly joined arabic lettrs with supplied japanese characters.
Comment 8 QA Administrators 2020-11-17 05:00:46 UTC Comment hidden (obsolete)
Comment 9 Ming Hua 2020-11-17 14:10:28 UTC
I think the reporter has given enough information, and just forgot to change the bug status from NEEDINFO to UNCONFIRMED.

I, however, know too little about Arabic to know exactly what went wrong for the reporter, or even to know what questions to ask.
Comment 10 Eyal Rozenberg 2021-02-26 21:55:43 UTC
Can't reproduce with:

Version: 7.1.0.3 / LibreOffice Community
Build ID: f6099ecf3d29644b5008cc8f48f42f4a40986e4c
CPU threads: 4; OS: Linux 5.9; UI render: default; VCL: gtk3
Locale: he-IL (en_IL); UI: en-US

What I did:

1. Created a new Writer document
2. Copied the the text in Shimomura-san's first post, after "For example".
3. Pasted the text in an empty, LTR-direction paragraph in the new document
4. Selected-all
5. On the menus, chose "Format | Character..."
6. Set the CTL font to Scheherazade

I did not see any problem with the rendering. The TATWEEL (U+0640) connected just fine to the ZAI, the LAM etc.

Could this be OS-specific? Specific to the UI language?
Comment 11 himajin100000 2021-02-26 22:52:58 UTC
Hi, Mr.Shimomura

Can you confirm this bug with a pdf exported from Calc in another pdf viewer, and if yes, can you attach the pdf file? 
Pdf is, in a way, editable with Notepad, as described in the following article written in Japanese, and sometimes easiler to analyze.
 
https://itchyny.hatenablog.com/entry/2015/09/16/100000