Jump to content

Recommended Posts

Posted

Currently using Publisher v2.4.2 on Windows 10.

When exporting any text from publisher to PDF that contains a double t (eg the word battle) the tt is replaced by a strange symbol 􀀓.

The tt appears as tt in the PDF. It is only when you copy the text from the PDF to another application (eg Notepad) that the symbol becomes apparent. eg battle becomes ba􀀓le.

Posted

That is a ligature, which is enabled (by default) in the Affinity applications. You can either:

  1. Turn off the Standard Ligature setting in the Typography section of the Character panel or the Text Style:
    image.png.4620b14216a60f07f63e0d1df55b5b45.png
    (make sure you have the text selected when you do that); or
     
  2. When Exporting the PDF, disable font subsetting:
    image.png.d634387f0a365675666c15f4253519dc.png

-- 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

OK, thanks, I'll try that. I always disable subset fonts anyway, so that did not cause the issue.

A pain that I have to find and turn off ligatures for all occurrences of "tt" in my 300-page document - there will be hundreds of them. Surely this should not be enabled by default.

Posted
6 minutes ago, Dave_I4W said:

A pain that I have to find and turn off ligatures for all occurrences of "tt" in my 300-page document - there will be hundreds of them.

If you're using Text Styles, just change the setting there.

If not, just select all the text (easy if you have Text Frames linked together; just click in one and Ctrl/Cmd+A) and change it in the Character panel.

If you had Font Subsetting disabled I'm surprised you had the problem, but perhaps it depends on the font or the application, or maybe there's something else going on I haven't thought of.

-- 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
18 minutes ago, Dave_I4W said:

Surely this should not be enabled by default.

Standard Ligatures are supposed to be enabled by default.

What is somewhat unusual is that the font designer included the tt ligature in Standard Ligatures.

What font is it?

 

Posted

I've fixed the problem now, but it took time as each page is a table. I had to select each of the 300 tables, one by one, then turn off ligatures. It would have been so much easier if ligatures were disabled by default. Is there a way to do this in the settings?

I noticed while doing it that there are other ligatures in this font, including ff and sometimes when using apostrophes such as in o'clock.

Maybe I need a better font, but this is the 23rd annual publication of this document and it's become traditional. Ligatures were never a problem when I used PagePlus.

Posted
17 minutes ago, Dave_I4W said:

It would have been so much easier if ligatures were disabled by default. Is there a way to do this in the settings?

As @kenmcd mentioned, Standard Ligatures are supposed to be enabled by default, as specified in the standards. There is no way to disable this in the Settings.

Using a Text Style would allow you to set it once, though.

19 minutes ago, Dave_I4W said:

Maybe I need a better font, but this is the 23rd annual publication of this document and it's become traditional. Ligatures were never a problem when I used PagePlus

I think there may be a bug in the way that the Affinity applications construct one of the glyph tables (ToUnicode?) in the PDF files, but that is usually fixed by not subletting fonts. Since you say you don't subset fonts, unless you just made a mistake this time you may have some other issue.

-- 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
8 hours ago, Dave_I4W said:

Maybe I need a better font, but this is the 23rd annual publication of this document and it's become traditional. Ligatures were never a problem when I used PagePlus.

I did not mean to imply the font needs to be better - that is a very nice font.
It is actually better than many of the commercial versions in some cases.

The problem is in Affinity.
As @walt.farrell mentioned above the ToUnicode table is incorrect.
When you copy-and-paste text from a PDF, this is where the Unicode character codes come from, so when you paste that text you get the correct character.

With ligatures there are actually codes there for both/all characters (mostly).
This is where Affinity gets it wrong.

These are the ligatures available in Palatino Linotype:
Palatino.Linotype-Ligatures.cropped.png.cdeaf30a6a5279730d1e826c79ae2466.png

I made a document in LibreOffice and in Affinity Publisher 2.4.1 on Windows 10.
The image above is from the LibreOffice PDF.
The Affinity Publisher PDF looks the same, but the underlying codes are not.

Copy-and-Paste from the LibreOffice PDF gave me this:

Palatino Linotype – Ligatures
Standard Ligatures (liga)
ffb ffh ffi ffk ffl fb ff fh fi fj fk fl tt tz  >
ffb ffh ffi ffk ffl fb ff fh fi fj fk fl tt tz
Discretionary Ligatures (dlig)
IJ Qu SS Th ck ij c/o ?! !? !!  >
IJ Qu SS Th ck ij c/o ?! ?! !!
Historical Ligatures (hlig)
ct sp st ſſi ſſl ſb ſh ſi ſk ſl ſt ſſ   >
ct sp st ſſi ſſl ſb ſh ſi ſk ſl ſt ſſ

Which is exactly what I would expect.

Copy-and-Paste from the Affinity Publisher PDF (with font sub-setting Off) gave me this:

Palatino Linotype – Ligatures
Standard Ligatures (liga)
ffb ffh ffi ffk ffl fb ff fh fi fj fk fl tt tz  >  
� � ffi � ffl � ff � fi � � fl � �
Discretionary Ligatures (dlig)
IJ Qu SS Th ck ij c/o ?! !? !!  >  
IJ � � � � ij ℅ ‽ ‽ !!
Historical Ligatures (hlig)
ct sp st ſſi ſſl ſb ſh ſi ſk ſl ſt ſſ   >  
� � st � � � � � � � ſt �

Which is not what we would expect.
Looks like some of the ligatures (two codes) got replaced with an alternate single character.
This is not good, because you do not know if that character exists in the target document font.
The safe thing to do is copy exactly what was in the original text - the two character codes.
If that ligature is present in the new font, then the two codes will again become the ligature.

So your font is fine.
The work-around is to turn-off Standard Ligatures.

And let us hope that one day, the sun will rise, and this will be fixed...

Posted
7 minutes ago, kenmcd said:

The work-around is to turn-off Standard Ligatures.

And, perhaps, this time we can get this bug logged so it might be fixed someday.

-- 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
10 minutes ago, walt.farrell said:

And, perhaps, this time we can get this bug logged so it might be fixed someday.

That made me think of "It could happen."
And it took me a minute to remember who always said that - Judy Tenuda.
She was funny.

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.