Jump to content

Recommended Posts

Posted

Hi there,

I was advised by Walt Farrell in another thread that I should make a bug report regarding an issue with OpenType positioning features. As you know, you can use the lookup flag “IgnoreMarks” in an OpenType GPOS lookup to basically make glyphs assigned to the GDEF glyph class “Mark” invisible to the rules that follow in the lookup. But this flag seems to be ignored by Affinity Publisher at the moment.

To provide some materials for testing, I quickly created a basic font with glyphs

  • /A/  (U+0041),
  • /B/  (U+0042)
  • /acutecomb/  (U+0301)

and defined /acutecomb/ to be a non-spacing combining mark. Furthermore, I added a kerning feature resulting in a GPOS pair adjustment lookup for the glyph pair /A/B/ of -75 design units. Finally, I set the lookup flag of this lookup to IGNORE_MARKS (0x0008) in order to instruct the text shaping engine to skip over all combining marks when interpreting the lookup over a text run.

IgnoreMarks.thumb.png.75cd057f1a5f9f49d6dc0b22b988eb58.png

Now, when you install the font and enter the character sequence

  • U+0041  U+0042

the text shaping engine of Affinity Publisher correctly applies kerning to the glyphs to which these characters are mapped. But when you enter the sequence

  • U+0041  U+0301  U+0042

you will see that kerning is discarded. In other words, the text shaper of Affinity Publisher does not seem to understand the IgnoreMarks lookup flag.

Publisher.png.dc0867b6df4be7488fc30d4d5d1e5710.png

If you want to test this yourself, I attached the font and a Publisher document showing the issue. Hope you can reproduce.

Best, Alex 🙂

IgnoreMarks-Regular.otf

IgnoreMarks.afpub

 

  • 6 months later...
Posted

I am experiencing this problem as well. Following the update to the latest version of Affinity Publisher (1.10.4) – the issue is still unresolved.

I design typefaces and would prefer not do any unnecessary OpenType hacks in order to make the font work in Affinity (lookup flag ignore marks is fully supported in similar software such as InDesign and Sketch).

Is there an ETA for when this bug will be resolved? 

If I can help in any way by providing testing files, please let me know.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.