[Libreoffice-bugs] [Bug 157922] Writer fails to attach Arabic letters in some fonts (due to buggy font)

2023-10-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157922

--- Comment #10 from medmedin2014  ---
(In reply to ⁨خالد حسني⁩ from comment #9)

> These tables are unused by MS text layout engine, so stripping them makes
> the font behave like it does in MS applications, which seems to be the only
> platform it was tested against (the font is broken also om macOS unless the
> tables I mentioned are removed).

This is a brief description of some features of the font.

http://sama-tube.com/quran/FontAlmaghribi/Definition-font-almaghribi.pdf

I will test some of them tonight, and see if they are still working.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157922] Writer fails to attach Arabic letters in some fonts (due to buggy font)

2023-10-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157922

--- Comment #9 from ⁨خالد حسني⁩  ---
(In reply to medmedin2014 from comment #8)
> (In reply to ⁨خالد حسني⁩ from comment #5)
> > A workaround is to strip the AAT table from the font, using something like
> > (ttx comes from FontTools Python package):
> > 
> > $ ttx -x morx -x feat -x prop -x lcar AALMAGHRIBI.ttf
> > $ ttx AALMAGHRIBI.ttx
> > 
> > This should result in a AALMAGHRIBI#1.ttf file, installing it instead of the
> > original AALMAGHRIBI.ttf file should fix the issue.
> 
> I'm not an expert in fonts, but the effect of removing such part from the
> font wouldn't disable some advanced font capabilities ?

These tables are unused by MS text layout engine, so stripping them makes the
font behave like it does in MS applications, which seems to be the only
platform it was tested against (the font is broken also om macOS unless the
tables I mentioned are removed).

> Some extreme and complex usage of that Maghrebi font is the writing of whole
> Muhammadi Qur’an, with the narration of Warsh on the authority of Nafi’, and
> I think (not sure) it was primarily done on Apple software to benefit from
> those complex font features.
> 
> https://play.google.com/store/apps/details?id=info.vacof.quranma

The screenshots of this app show handwritten calligraphy nit a computer font
(look at the same letter, e.g. isolated alef, at different places and you will
see variations that result from handwriting).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157922] Writer fails to attach Arabic letters in some fonts (due to buggy font)

2023-10-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157922

--- Comment #8 from medmedin2014  ---
(In reply to ⁨خالد حسني⁩ from comment #5)
> A workaround is to strip the AAT table from the font, using something like
> (ttx comes from FontTools Python package):
> 
> $ ttx -x morx -x feat -x prop -x lcar AALMAGHRIBI.ttf
> $ ttx AALMAGHRIBI.ttx
> 
> This should result in a AALMAGHRIBI#1.ttf file, installing it instead of the
> original AALMAGHRIBI.ttf file should fix the issue.

I'm not an expert in fonts, but the effect of removing such part from the font
wouldn't disable some advanced font capabilities ?

Some extreme and complex usage of that Maghrebi font is the writing of whole
Muhammadi Qur’an, with the narration of Warsh on the authority of Nafi’, and I
think (not sure) it was primarily done on Apple software to benefit from those
complex font features.

https://play.google.com/store/apps/details?id=info.vacof.quranma

I tested the modified font, and it seems to work fine both on LibreOffice and
Microsoft Office on Windows10 and Linux(Manjaro KDE), but I have no way to test
if that removed part has any effect on availability of font features on Mac.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157922] Writer fails to attach Arabic letters in some fonts (due to buggy font)

2023-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157922

Aron Budea  changed:

   What|Removed |Added

   Keywords|regression  |
 CC||aron.bu...@gmail.com
Summary|Writer fails to attach  |Writer fails to attach
   |Arabic letters in some  |Arabic letters in some
   |fonts   |fonts (due to buggy font)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157922] Writer fails to attach Arabic letters in some fonts

2023-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157922

⁨خالد حسني⁩  changed:

   What|Removed |Added

  Component|Writer  |graphics stack
   See Also||https://github.com/harfbuzz
   ||/harfbuzz/issues/4108
 OS|Linux (All) |All

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157922] Writer fails to attach Arabic letters in some fonts

2023-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157922

--- Comment #7 from ⁨خالد حسني⁩  ---
Created attachment 190424
  --> https://bugs.documentfoundation.org/attachment.cgi?id=190424=edit
Screenshot after fixing the font

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157922] Writer fails to attach Arabic letters in some fonts

2023-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157922

--- Comment #6 from ⁨خالد حسني⁩  ---
Created attachment 190423
  --> https://bugs.documentfoundation.org/attachment.cgi?id=190423=edit
Fixed version of the font

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157922] Writer fails to attach Arabic letters in some fonts

2023-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157922

--- Comment #5 from ⁨خالد حسني⁩  ---
A workaround is to strip the AAT table from the font, using something like (ttx
comes from FontTools Python package):

$ ttx -x morx -x feat -x prop -x lcar AALMAGHRIBI.ttf
$ ttx AALMAGHRIBI.ttx

This should result in a AALMAGHRIBI#1.ttf file, installing it instead of the
original AALMAGHRIBI.ttf file should fix the issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157922] Writer fails to attach Arabic letters in some fonts

2023-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157922

--- Comment #4 from ⁨خالد حسني⁩  ---
This is a font bug. The font contains non-functional AAT (Apple Advanced
Typography) font support which is ignored by MS Office and older versions of
HarfBuzz. Newer versions of HarfBuzz as well as Apple software support AAT and
the font is broken there.

Currently, HarfBuzz does not give us a way to prefer OpenType over AAT, see
https://github.com/harfbuzz/harfbuzz/issues/4108 for upstream discussion.

This is not a first time I see a bug report about this particular font, but I
can’t find where I saw it before.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157922] Writer fails to attach Arabic letters in some fonts

2023-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157922

BogdanB  changed:

   What|Removed |Added

 Blocks||71732


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=71732
[Bug 71732] [META] Bugs related to text rendering, typography and font features
in LO
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157922] Writer fails to attach Arabic letters in some fonts

2023-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157922

Julien Nabet  changed:

   What|Removed |Added

 CC||kha...@libreoffice.org

--- Comment #3 from Julien Nabet  ---
Bogdan: the patch is just an upgrade of Harfbuzz version and nothing else.
So either the bug is still in last Harfbuzz version or is still in the LO code
which in its way to use Harfbuzz.
I don't think removed local Harfbuzz patches are concerned.

Khaled: any thoughts here?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157922] Writer fails to attach Arabic letters in some fonts

2023-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157922

BogdanB  changed:

   What|Removed |Added

Version|7.6.2.1 release |7.3.0.1 rc

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157922] Writer fails to attach Arabic letters in some fonts

2023-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157922

BogdanB  changed:

   What|Removed |Added

   Keywords||bibisected, bisected,
   ||regression
 CC||serval2...@yahoo.fr

--- Comment #2 from BogdanB  ---
Maybe it's a harfbuzz bug, not a LibreOffice bug, but it started since this.


author  Julien Nabet   2021-07-19 20:40:14 +0200
committer   Julien Nabet   2021-07-20 18:05:43
+0200
commit  ed29da546754d0d11aa0cffd4dfe649cc95df722 (patch)
tree1d3db9d36c8ae4c9a4298462de49827fa6caa475
parent  6128e2d55f0d0c68d3c7f6fb69539ec800637947 (diff)
tdf#143429: update harfbuzz to 2.8.2 version
Change-Id: I263dc6da5be3ea55205076a1f4e263fe5bba31fe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119232
Tested-by: Jenkins
Reviewed-by: Julien Nabet 

12fc2bc2862de298773c67df178e8f399e3f5ad9 is the first bad commit
commit 12fc2bc2862de298773c67df178e8f399e3f5ad9
Author: Jenkins Build User 
Date:   Tue Jul 20 19:02:11 2021 +0200

source sha:ed29da546754d0d11aa0cffd4dfe649cc95df722

source sha:ed29da546754d0d11aa0cffd4dfe649cc95df722

 instdir/program/libvcllo.so | Bin 16425504 -> 16515592 bytes
 instdir/program/libvclplug_kf5lo.so | Bin 1263456 -> 1349328 bytes
 instdir/program/libvclplug_qt5lo.so | Bin 2043792 -> 2129472 bytes
 instdir/program/setuprc |   2 +-
 instdir/program/versionrc   |   2 +-
 5 files changed, 2 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157922] Writer fails to attach Arabic letters in some fonts

2023-10-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157922

BogdanB  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 CC||buzea.bog...@libreoffice.or
   ||g
 Status|UNCONFIRMED |NEW

--- Comment #1 from BogdanB  ---
Confirm with
Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 16; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.