Bug 114740 - Arabic Letter Heh (ه) is rendered incorrectly when isolated
Summary: Arabic Letter Heh (ه) is rendered incorrectly when isolated
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.3.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: text:rtl
Depends on:
Blocks:
 
Reported: 2017-12-28 18:31 UTC by antanins
Modified: 2018-03-24 19:01 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Arabic Letter Heh Isolated Form - Screenshot (69.67 KB, image/jpeg)
2017-12-28 18:37 UTC, antanins
Details
Arabic Letter Heh Isolated Form - Document (18.22 KB, application/vnd.oasis.opendocument.text)
2017-12-28 20:56 UTC, antanins
Details
Same font, right ه in Photoshop ME 8 (122.44 KB, image/jpeg)
2018-03-24 15:24 UTC, antanins
Details
Same font, right ه in GIMP 2.8 (60.15 KB, image/jpeg)
2018-03-24 15:24 UTC, antanins
Details
Same font, "wrong" هـ in InDesign CS5 (108.87 KB, image/jpeg)
2018-03-24 15:25 UTC, antanins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description antanins 2017-12-28 18:31:39 UTC
Description:
Isolated Arabic Letter Heh is rendered ھ (U+FBAA) instead of ه (U+FEE9) by many fonts.

Actual Results:  
Arabic Letter Heh Doachashmee Isolated Form (U+FBAA).

Expected Results:
Arabic Letter Heh Isolated Form (U+FEE9).


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Comment 1 antanins 2017-12-28 18:37:25 UTC
Created attachment 138715 [details]
Arabic Letter Heh Isolated Form - Screenshot
Comment 2 antanins 2017-12-28 20:23:56 UTC
The letter displays correctly if Persian, instead of Arabic, is selected as the font language.
Comment 3 Xisco Faulí 2017-12-28 20:32:34 UTC Comment hidden (obsolete)
Comment 4 antanins 2017-12-28 20:56:14 UTC
Created attachment 138722 [details]
Arabic Letter Heh Isolated Form - Document
Comment 5 ⁨خالد حسني⁩ 2018-01-25 12:38:31 UTC
That is a font issue, some fonts use a different shape of isolated Heh under certain condition. Please report to font vendor(s) if you thing this is wrong.
Comment 6 antanins 2018-03-22 16:33:56 UTC
However, this same font used to display Arabic heh correctly in previous versions.
Comment 7 Xisco Faulí 2018-03-23 09:33:42 UTC
You can't confirm your own bugs. Moving it back to UNCONFIRMED until someone
else confirms it.
Comment 8 ⁨خالد حسني⁩ 2018-03-23 20:55:13 UTC
(In reply to antanins from comment #6)
> However, this same font used to display Arabic heh correctly in previous
> versions.

Previous versions were wrong then. Please do not re-open closed bugs before discussing it.
Comment 9 antanins 2018-03-23 21:46:31 UTC
I beg your pardon. However, the bug status appears not as UNCONFIRMED but as RESOLVED NOTABUG (without much discussion, by the way). Much as we may agree this is a font issue, it is somehow paradoxical, however, from a standard user point of view, that previous versions were wrong in making these fonts behave "better" (i.e., as expected).
Comment 10 ⁨خالد حسني⁩ 2018-03-23 22:41:27 UTC
(In reply to antanins from comment #9)
> I beg your pardon. However, the bug status appears not as UNCONFIRMED but as
> RESOLVED NOTABUG (without much discussion, by the way). Much as we may agree
> this is a font issue, it is somehow paradoxical, however, from a standard
> user point of view, that previous versions were wrong in making these fonts
> behave "better" (i.e., as expected).

That is how the font is designed; an isolated heh takes a هـ form not ه form. There is no better or worse here; there is rendering the font as intended by its designer (current) and not doing that (previous). If you don’t like the font behavior 1) contact the vendor and ask for the font to be changed 2) change the font yourself (if you are legally allowed of course) 3) use a different font.

Please understand that we can’t just “fix” this issue, what you see as a bug others might see as a feature, and the litmus test is whether we are rendering the font as intended or not.
Comment 11 antanins 2018-03-23 23:42:26 UTC
Of course, I understand your point, and please forgive my insistence. I just would like to add that these fonts (and there are many of them) do not seem to render isolated heh as هـ in any other software, just as they didn't in previous versions of LibreOffice; neither seems this هـ rendering to be proper in Arabic typography. I mean, this is not a behaviour you may like or not: it is something an Arabic font is not expected to do, as you probably know better than me, and actually does not in other word processors, all of which makes it hard to believe it is a feature intended by professional designers which no one but current LibreOffice versions respects.
Comment 12 ⁨خالد حسني⁩ 2018-03-24 10:35:47 UTC
(In reply to antanins from comment #11)
> Of course, I understand your point, and please forgive my insistence. I just
> would like to add that these fonts (and there are many of them) do not seem
> to render isolated heh as هـ in any other software, just as they didn't in
> previous versions of LibreOffice; neither seems this هـ rendering to be
> proper in Arabic typography. I mean, this is not a behaviour you may like or
> not: it is something an Arabic font is not expected to do, as you probably
> know better than me, and actually does not in other word processors, all of
> which makes it hard to believe it is a feature intended by professional
> designers which no one but current LibreOffice versions respects.

Which software you are testing on? Try with Firefox, Chrome, Adobe apps, etc. instead of MS apps that use Windows layout engine we were using in previous releases.
Comment 13 antanins 2018-03-24 15:21:53 UTC
Adobe Photoshop ME 8, GIMP 2.8... Same hardware, same OS, same font (Adobe Arabic, differents versions up to 2.007). There is Adobe Indesign CS5, to be fair, where Adobe Arabic renders ه as هـ, however see this:
https://forums.adobe.com/thread/1250411
Comment 14 antanins 2018-03-24 15:24:08 UTC
Created attachment 140857 [details]
Same font, right ه in Photoshop ME 8
Comment 15 antanins 2018-03-24 15:24:48 UTC
Created attachment 140858 [details]
Same font, right ه in GIMP 2.8
Comment 16 antanins 2018-03-24 15:25:42 UTC
Created attachment 140859 [details]
Same font, "wrong" هـ in InDesign CS5
Comment 17 ⁨خالد حسني⁩ 2018-03-24 16:41:47 UTC
(In reply to antanins from comment #13)
> Adobe Photoshop ME 8, GIMP 2.8... Same hardware, same OS, same font (Adobe
> Arabic, differents versions up to 2.007).

GIMP on Windows uses MS layout engine, so that is not a surprise, not sure about Photoshop though.

> There is Adobe Indesign CS5, to be
> fair, where Adobe Arabic renders ه as هـ, however see this:
> https://forums.adobe.com/thread/1250411

The link is about final not isolated heh, but it also shows that it was an issue in the font not the application, which further shows that the current behavior is intentional. You are really wasting your time here, Adobe is one you need to complain to since they designed the font to behave this way.
Comment 18 antanins 2018-03-24 17:35:06 UTC
I see. Sorry for wasting your time too and many thanks for your comments.