[Bug 160634] Alternate substitution feature does not work when AAT tables are present in font

2024-05-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160634

Y. Kawara  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|RESOLVED|REOPENED
 Resolution|NOTABUG |---

--- Comment #10 from Y. Kawara  ---
Sorry, but it is a bug. The feature is available in the UI (shows there are 4
alternates) but does nothing.

"So if the font has a morx table but the alternate substitution feature is in
GSUB table then the alternate substitution feature will be considered missing
and will not be applied since the GSUB table is not consulted at all."

I think this is a good description of the bug, from where things can be worked
on. It is not impossible to take a different approach. Again, it works fine in
Inkscape.

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

[Bug 160634] Alternate substitution feature does not work when AAT tables are present in font

2024-05-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160634

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

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |NOTABUG

--- Comment #9 from ⁨خالد حسني⁩  ---
If the font has a morx table HarfBuzz will use it for glyph substitution and
will not look at GSUB table at all, since the two tables are exclusive, you can
use one or the other but not both at the same time (one belongs to Apple
Advanced Typography shaping model, and the other to OpenType shaping model).

So if the font has a morx table but the alternate substitution feature is in
GSUB table then the alternate substitution feature will be considered missing
and will not be applied since the GSUB table is not consulted at all.

I suggest to not include AAT tables at all.

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

[Bug 160634] Alternate substitution feature does not work when AAT tables are present in font

2024-05-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160634

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

 CC||kha...@libreoffice.org,
   ||stephane.guillou@libreoffic
   ||e.org
 Whiteboard| QA:needsComment|

--- Comment #8 from Stéphane Guillou (stragu) 
 ---
Thanks for the detailed report.

Khaled, I thought you might be able to grep this issue about 100 times quicker
than me. What do you think?

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

[Bug 160634] Alternate substitution feature does not work when AAT tables are present in font

2024-04-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160634

QA Administrators  changed:

   What|Removed |Added

 Whiteboard|| QA:needsComment

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

[Bug 160634] Alternate substitution feature does not work when AAT tables are present in font

2024-04-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160634

--- Comment #7 from Y. Kawara  ---
Two typos in my bug description:

U+FE41(﹂) →  U+FE42(﹂)

Four_noAAT.ttf was generated from Four_noAAT.ttf
 ↓
Four_noAAT.ttf was generated from Four_noAAT.sfd

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

[Bug 160634] Alternate substitution feature does not work when AAT tables are present in font

2024-04-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160634

Y. Kawara  changed:

   What|Removed |Added

 Attachment #193637|Test font generated from|Test font generated from
description|Four_noAAT.ttf, with "Mac"  |Four_noAAT.sfd, with "Mac"
   |option turned off (not  |option turned off (not
   |affected by this bug).  |affected by this bug).

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

[Bug 160634] Alternate substitution feature does not work when AAT tables are present in font

2024-04-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160634

--- Comment #6 from Y. Kawara  ---
Created attachment 193641
  --> https://bugs.documentfoundation.org/attachment.cgi?id=193641=edit
TTX data for Four_noAAT.ttf

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

[Bug 160634] Alternate substitution feature does not work when AAT tables are present in font

2024-04-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160634

--- Comment #5 from Y. Kawara  ---
Created attachment 193640
  --> https://bugs.documentfoundation.org/attachment.cgi?id=193640=edit
TTX data for Four.ttf

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

[Bug 160634] Alternate substitution feature does not work when AAT tables are present in font

2024-04-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160634

--- Comment #4 from Y. Kawara  ---
Created attachment 193639
  --> https://bugs.documentfoundation.org/attachment.cgi?id=193639=edit
FontForge data for Four_noAAT.ttf

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

[Bug 160634] Alternate substitution feature does not work when AAT tables are present in font

2024-04-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160634

--- Comment #3 from Y. Kawara  ---
Created attachment 193638
  --> https://bugs.documentfoundation.org/attachment.cgi?id=193638=edit
FontForge data for Four.ttf

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

[Bug 160634] Alternate substitution feature does not work when AAT tables are present in font

2024-04-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160634

--- Comment #2 from Y. Kawara  ---
Created attachment 193637
  --> https://bugs.documentfoundation.org/attachment.cgi?id=193637=edit
Test font generated from Four_noAAT.ttf, with "Mac" option turned off (not
affected by this bug).

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

[Bug 160634] Alternate substitution feature does not work when AAT tables are present in font

2024-04-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160634

--- Comment #1 from Y. Kawara  ---
Created attachment 193636
  --> https://bugs.documentfoundation.org/attachment.cgi?id=193636=edit
Test font generated from Four.sfd, with "Mac" option turned on (affected by
this bug).

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