Bug 113317

Summary: CGJ breaks font rendering (Scheherazade)
Product: LibreOffice Reporter: Volga <shanshandehongxing>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTOURBUG    
Severity: normal CC: ilmari.lauhakangas, martin_hosken
Priority: medium    
Version: 5.4.2.2 release   
Hardware: All   
OS: All   
See Also: https://github.com/harfbuzz/harfbuzz/issues/554
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 71732    
Attachments: Test file
Snapshot

Description Volga 2017-10-21 05:18:43 UTC
Description:
When I insert CGJ (U+034F) within Arabic characters, it breaks font rendering for certain fonts, and the letter displaying with fallback fonts instead.

Steps to Reproduce:
1. Copying the following characters into Writer:
قاىِٕد (without CGJ)
قاىِٕد (without CGJ)
قاىٕ͏ِد (with CGJ)
2. Select the who text
3. Change font to "Scheherazade"

Actual Results:  
In third line, the letter ى (U+0649) does not displaying with Scheherazade, using fallback fonts instead.

Expected Results:
While CGJ is instered into the text, it should not font rendering, all texts should be render as expected.


Reproducible: Always

User Profile Reset: No

Additional Info:
版本:5.4.2.2 (x64)
Build ID:22b09f6418e8c2d508a9eaf86b2399209b0990f4
CPU 线程:4; 操作系统:Windows 6.19; UI 渲染:默认; 
区域语言:zh-CN (zh_CN); Calc: group


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
Comment 1 Volga 2017-10-21 05:19:32 UTC
Created attachment 137177 [details]
Test file
Comment 2 Volga 2017-10-21 05:20:14 UTC
Created attachment 137178 [details]
Snapshot
Comment 3 Buovjaga 2017-11-07 15:58:37 UTC
Confirmed, also from scratch with a bit different result.

Arch Linux 64-bit, KDE Plasma 5
Version: 6.0.0.0.alpha1+
Build ID: f657454b69c813b90a8b3c1adb2feef1066dbd35
CPU threads: 8; OS: Linux 4.13; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on November 7th 2017
Comment 4 ⁨خالد حسني⁩ 2018-01-25 12:50:49 UTC
A HarfBuzz issue that is already fixed upstream.
Comment 5 Volga 2018-02-04 09:48:15 UTC
So Martin Hosken, can you also make a bugfix in this font? The usage of this character have been documented in Unicode Technical Reports No.53 Unicode Arabic Mark Rendering.