Jump to content

Recommended Posts

Posted

Hello.

I have an issue...

I started using a font with contextual alternatives, specifically the "Amorie Modella" font. In both Designer and Publisher, it shows an error in the distribution of glyphs in a text frame when the text frame is smaller in width (as you can see in picture). I tested it with other softwares, such as Clip Studio Paint and Microsoft Word, and they worked fine with the font. Both of these softwares had the use of contextual alternatives enabled. Microsoft Word works well with hyphens with this font.

What can I do?

Captura de pantalla 2024-08-19 220230.png

Posted

Welcome to the Affinity forums.

First, Designer doesn't implement automatic hyphenation at all. So, as I think the question is about hyphenation, I'll focus on Publisher.

So, in Publisher:

  • Is your text really Latin, or is it Filler Text?
  • If you put the text cursor in one of those words, and check the Character panel, Language section, what Spelling language is specified?
  • In the same place, what Hyphenation language is specified?
  • In the Paragraph panel, is Use Automatic Hyphenation enabled?

If you have the Language set to Latin for spelling and hyphenation (or automatic for hyphenation), I don't recall if the Affinity applications on Windows have a Latin hyphenation dictionary. I can check that later, or another user may know.

You've indicated the problem is with fonts that have Contextual Alternates. If you select all the text, and disable Contextual Alternates in the Typography settings (Character panel), does the problem go away? (That is, does hyphenation work normally in that case?)

I have a vague memory of another discussion of hyphenation and contextual alternates, but I can't find the discussion right now. Sorry.

 

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.5, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.5

Posted
15 hours ago, Rolando Daniiel said:

What can I do?

Not much.
This is a bug in how Affinity handles OpenType substitutions.

The Amorie Modella font has substitutions for the space characters, and individual characters.
In Affinity this breaks the line-breaking and the hyphenation.
Which is a bug.

This font works correctly in LibreOffice (with the Harfbuzz text shaper).
Justification works as expected.
Hyphenation works as expected.
Which is similar to your results in Word (with the DirectWrite text shaper).

So until Affinity fixes this you will not be able to use all the features of this font.

 

Posted
13 hours ago, walt.farrell said:

First, Designer doesn't implement automatic hyphenation at all. So, as I think the question is about hyphenation, I'll focus on Publisher.

It's not just about hyphenation. It's mainly about OpenType substitution. I mentioned it to complement.

 

13 hours ago, walt.farrell said:

Is your text really Latin, or is it Filler Text?

In the pic it was just an example.

13 hours ago, walt.farrell said:

You've indicated the problem is with fonts that have Contextual Alternates. If you select all the text, and disable Contextual Alternates in the Typography settings (Character panel), does the problem go away?

Yes, when I disabled it, it works fine. But it is not the idea.

 

13 hours ago, walt.farrell said:

Sorry

No problem. Thank you for your reply.

 

6 hours ago, kenmcd said:

Not much.
This is a bug in how Affinity handles OpenType substitutions.

Oh. What a pity.

 

6 hours ago, kenmcd said:

So until Affinity fixes this you will not be able to use all the features of this font.

Really. What a pity.

Thank you all for your reply. I hope that the team of Affinity take it into consideration and resolve it.

Posted
9 hours ago, Rolando Daniiel said:

I hope that the team of Affinity take it into consideration and resolve it.

We'll see what they say when they process this report.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.5, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.5

Posted
2 hours ago, walt.farrell said:

We'll see what they say when they process this report.

IIRC there has been no response the previous 4-5 times this issue has come up. I can make a summary of all those if someone wants to actually do something about it. But I suspect the fix is not easy so it is being ignored.

  • 3 weeks later...

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.