Jump to content
You must now use your email address to sign in [click for more info] ×

Recommended Posts

Windows 10 20H2 build 19042.964; Affinity Publisher 1.9.2.1035

I am trying to do something that seems very straightforward, but I am hitting a wall that might be a bug.

Below you see text with a "quotation" paragraph style applied. Each line is a separate "paragraph", and two lines are indented even further. No problems there.

The problem is with the "optical alignment" and the quotation mark. I clicked "add" below to show the values being used. My desire is for all the letters W to be perfectly aligned, and to have the quotation mark floating on the left. I assumed that having a value of Left 100% would accomplish that, but no. The dialog won't let me increase beyond 100, and it will not let me manually type a value larger than 100.

Any suggestions, short of manually fiddling with the indentation for these sort of poems/quotations?

As a minimum, I would have liked the optical alignment to allow me to set a value where the character completely disappears into the margin...

 

image.png.b6e01496fbe84f91763a8e22ae179f31.png

Edited by Dekker500
Added platform/publisher versions
Link to comment
Share on other sites

Interesting. This may be an interaction with the letter W and T.

Here is a quotation from two different sections. In the first, everything works as planned. In the second, the alignment is off again.

image.png.cfa0f1ba7d75cf5a218899042c93c87d.png image.png.6f9b7c0cb386dc5d6acdb4c6f6379316.png

Edited by Dekker500
Link to comment
Share on other sites

2 hours ago, Dekker500 said:

that might be a bug

I'd say this is "by design".

2 hours ago, Dekker500 said:

I assumed that having a value of Left 100% would accomplish that, but no

The value affects the respective character width 100% of “. It's not the same value as 100% of W.

2 hours ago, Dekker500 said:

it will not let me manually type a value larger than 100

That's weird because on Mac, the maximal value this field will accept are a whopping 2147483647 %! (no idea why this exact value, but there you go…)

So is this possibly a Windows specific bug?

2 hours ago, Dekker500 said:

Any suggestions, short of manually fiddling with the indentation for these sort of poems/quotations?

Yup:

  1. remove W from the optical alignment field for this selection
  2. adjust indent as you see fit

apu_align_w.png.7b1612e7e0128872592ba4800c8ea61b.png

MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2

Link to comment
Share on other sites

6 minutes ago, loukash said:

That's weird because on Mac, the maximal value this field will accept are a whopping 2147483647 %! (no idea why this exact value, but there you go…)

2^31 - 1 = 2147483647

(This is the maximum value of a signed 32-bit integer.)

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen)

Link to comment
Share on other sites

14 minutes ago, loukash said:

2147483647 %! (no idea why this exact value, but there you go…)

As a programmer, I can say it is because that is the maximum value of an integer (INT32)

I'll try your suggestion on removing the W, it sounds logical.

Link to comment
Share on other sites

Just now, Alfred said:

the maximum value of a signed 32-bit integer

Thanks. As I may have posted elsewhere already, my last algebra lesson must have been around 1982 or so. Haven't had much use for this kind of stuff since…
But… I expected that it would be something like that. :)

MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2

Link to comment
Share on other sites

21 minutes ago, loukash said:

remove W from the optical alignment field for this selection

OK, the final solution is for blocks like poetry/song, where alignment of the character is more important, to simply remove ALL alpha characters from the alignment, and simply leave the punctuation (on the left, anyway).

After some fiddling, I found out the "rationale" behind the wonky column of Ws. The first line's quotation marks are indeed treated as 100% left, as in not optically aligned. The side-effect of this is that the very next character, the first W, is aligned perfectly with the assigned indent. The visual disparity comes from the following lines also having W, which ARE being affected by Optical Alignment.

In edge cases like these, it'd be convenient to have a further option - "if first glyph has 100% adjustment, apply optical adjustment to following glyph?" Food for thought.

Link to comment
Share on other sites

1 minute ago, Dekker500 said:

"if first glyph has 100% adjustment, apply optical adjustment to following glyph?"

Yep, I figured that this is what you were initially after.
But conditional stuff like this adds massively to complexity. And given Serif's record of implementing confusing UI solutions, I'm happy that they haven't tried. ;)

You'd be better off to create character styles for specific combinations, then use Find & Replace to locate those instances and apply the character styles to them.

MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2

Link to comment
Share on other sites

  • 1 month later...

Have just come across this post and wonder if the following will help, which on my limited testing seems to avoid any manual “fixes.” Page 352 of the Affinity Publisher Workbook (the page covering optical alignment) indicates the following:

If you notice that ATWY capital letters at the start of lines are outdented slightly after optical alignment, this can be fixed by editing the ATWY entry to have a Left setting of 0% (not 20%).

Link to comment
Share on other sites

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.