Jump to content

Recommended Posts

Posted

Hello together,
following problem.
I have created a document in Publisher and export it as PDF files.
(The Font is Cambria and can umlauts)
When the exported PDF file are opened in Publisher, no umlauts are displayed, why?
In Acrobat Reader the umlauts are displayed correctly.
What am I doing wrong?

Cheers

Affinity Photo 2.6:         Affinity Photo 1.10.6: 

Affinity Designer 2.6:    Affinity Designer 1.10.6:

Affinity Publisher 2.6:   Affinity Publisher 1.10.6:    

Windows 11 Pro  (Version 24H2 Build (26100.3915)

 

Posted
1 hour ago, LibreTraining said:

How did you enter the characters with the umlauts?

Can you attach the PDF?

 

I entered the umlauts with a normal German Windows keyboard.

Affinity-Photo_Störende_Objekte entfernen-2-2.pdf

Affinity Photo 2.6:         Affinity Photo 1.10.6: 

Affinity Designer 2.6:    Affinity Designer 1.10.6:

Affinity Publisher 2.6:   Affinity Publisher 1.10.6:    

Windows 11 Pro  (Version 24H2 Build (26100.3915)

 

Posted
12 minutes ago, Gnobelix said:

I entered the umlauts with a normal German Windows keyboard.

But what keystrokes, exactly?

Can you share the .afpub file, too?

 

-- 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.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.4

Posted
14 minutes ago, walt.farrell said:

But what keystrokes, exactly?

Can you share the .afpub file, too?

 

Hello walt,

the keystrokes are like other letters, e.g. a is a keystroke Ö is a keystroke etc.

Cheers

Affinity-Photo_Störende_Objekte entfernen.afpub

Affinity Photo 2.6:         Affinity Photo 1.10.6: 

Affinity Designer 2.6:    Affinity Designer 1.10.6:

Affinity Publisher 2.6:   Affinity Publisher 1.10.6:    

Windows 11 Pro  (Version 24H2 Build (26100.3915)

 

Posted
2 hours ago, Gnobelix said:

When the exported PDF file are opened in Publisher, no umlauts are displayed, why?
In Acrobat Reader the umlauts are displayed correctly.

Because the characters with umlautes are embedded as two separate characters.
For example, your original document has "Häufig" in the first paragraph.
The ä (00E4) is embedded as both the a (0061) and the combining diaeresis  ̈  (0308).
It should be just the 00E4 character.
That is a bug.

Does not matter if font sub-setting is On or Off in the PDF export settings.

Note: you will also have issues with the ligatures such as fi when doing this.

Posted
6 minutes ago, LibreTraining said:

Because the characters with umlautes are embedded as two separate characters.
For example, your original document has "Häufig" in the first paragraph.
The ä (00E4) is embedded as both the a (0061) and the combining diaeresis  ̈  (0308).
It should be just the 00E4 character.
That is a bug.

Does not matter if font sub-setting is On or Off in the PDF export settings.

Note: you will also have issues with the ligatures such as fi when doing this.

Thank you for the explanation.

Cheers

Affinity Photo 2.6:         Affinity Photo 1.10.6: 

Affinity Designer 2.6:    Affinity Designer 1.10.6:

Affinity Publisher 2.6:   Affinity Publisher 1.10.6:    

Windows 11 Pro  (Version 24H2 Build (26100.3915)

 

Posted

I was looking at this a little more ...
The problem may be related to how they handle composite characters.

In this font the ä (00E4) character is a composite of the a (0061) and the diaeresis ¨(00A8).
So it appears there is an error in how Affinity and/or PDFlib are handling composites.
Specifically with diaeresis ¨(00A8) and combining diaeresis  ̈  (0308) getting confused
and composites being decomposed.

 

 

Posted
13 minutes ago, LibreTraining said:

So it appears there is an error in how Affinity and/or PDFlib are handling composites.

Or should the font be using 00e4 rather than a composite set of characters?

-- 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.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.4

Posted
28 minutes ago, walt.farrell said:

Or should the font be using 00e4 rather than a composite set of characters?

The font is using 00E4.
In TrueType fonts you can use other glyphs/characters to make composite characters.
So you only have to draw the combining diaeresis  ̈  (0308) once, and then every character which needs a diaeresis just points to that one as a component.
Saves space in the font.
And if you make a change to that component, all the other composites which use it are also changed automatically.
Which also helps the font developer greatly.
Composites can optionally be removed (flattened) when exporting the finished font, but the font will be bigger.

I think what may be happening here is Affinity/PDFlib has a problem with or is confused by using the diaeresis ¨(00A8), rather than the combining diaeresis  ̈  (0308) as the component.
But Cambria is like this, Arial is too, etc. ... so this will be an issue.

Regardless, they should not be decomposing a composite character.

Posted
29 minutes ago, LibreTraining said:

Affinity and/or PDFlib

Since Win and Mac use different PDFLibs: Both the PDF of the OP and a PDF exported from the .afpub on macOS show the same result on mac: While the Umlaute appear fine, the ff ligature does not, and it differs between Cambria bold and regular.

441408604_umlautligatureCambriaonmac.jpg.4cc290de91a9a9dd833d686db6c49a29.jpg

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

Posted
4 minutes ago, thomaso said:

Both the PDF of the OP and a PDF exported from the .afpub on macOS show the same result

The issue is when the PDF is re-opened in APub for editing.
Then the codes behind the shapes (characters) are the problem.

Posted
2 minutes ago, LibreTraining said:

The issue is when the PDF is re-opened in APub for editing.
Then the codes behind the shapes (characters) are the problem.

Yes, my screenshot shows the re-opened PDF. So, since I don't see on mac issues with ä, ö, ü but with ff only, it seems Affinity interprets these chars differently on Win vs. Mac when opening the same PDF.

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

Posted
2 minutes ago, thomaso said:

Yes, my screenshot shows the re-opened PDF.

When you copy the "Häu" from the first word in the the first paragraph, and you paste it into a plain text editor what happens?

Could you please attach that PDF so I can see what is in there?
Would be very interesting if it is different on the Mac.

Posted
Quote

Cambria is distributed with all Windows versions since Windows Vista, all Microsoft Office versions since Microsoft Office 2007 for Windows and Microsoft Office 2008 for Mac, and Microsoft Office 2007 viewers and converters. Cambria (Regular) and Cambria Math are packaged together as a TrueType Collection (TTC) file. Microsoft Office 2008 for Mac does not include Cambria Math, as OMML is not supported. Therefore, the Macintosh version of Cambria is packaged as individual TrueType Font (TTF) files, rather than a single TTC file.

cambria_ttc.gif.c568581ac0149e7d65362065e6cb0b48.gif

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Posted
19 minutes ago, LibreTraining said:

When you copy the "Häu" from the first word in the the first paragraph, and you paste it into a plain text editor what happens?

Again, no issues with Umlaute but ff ligature. Didn't notice before: the ligature in the re-opened Windows PDF appears as 'B' while from the mac PDF it is 'A'.
Here's the PDF exported on mac from the OP's .afpubUmlaute Cambria_macOS PDFLib.pdf

Copied from the two re-opend PDFs to TextEdit:

2110350872_copiedfromAPubtoTextEdit.jpg.59937f83daa4695b1c8c453fc5ccf707.jpg

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

Posted (edited)
12 minutes ago, v_kyr said:

Microsoft Office 2008 for Mac does not include Cambria Math, as OMML is not supported. Therefore, the Macintosh version of Cambria is packaged as individual TrueType Font (TTF) files, rather than a single TTC file.

FWIW, the Cambria on macOS (where it is not part of macOS but Microsoft apps only). I don't have a OpenType  TrueType version for a comparison like @v_kyr did.

1263135315_CambriaofMicrosoftonmacOS.thumb.jpg.9cdf237131af2b672e5dbb9c726bab00.jpg

Edited by thomaso
text: TrueType, not OpenType

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

Posted
49 minutes ago, thomaso said:

FWIW, the Cambria on macOS (where it is not part of macOS but Microsoft apps only). I don't have a OpenType  TrueType version for a comparison like @v_kyr did.

Cambria is an OpenType-TT (.ttf/.ttc) font. There is no OpenType-PS (.otf) version.

I did look at the two versions for the Mac that I do have:
- Microsoft.Office.2019.for.Mac.16.23.VL
- Microsoft.Office.LTSC.for.Mac.2021.v16.54.VL
Both have the Regular and the Math, two fonts, in one TTC file. Both are v6.900.(6.90i).
The other 3 styles are in .ttf files - Italic, Bold, Bold Italic.
I wanted to see if the composites had been removed (which should eliminate this issue).
Neither of those two versions had composites removed.

I have not been able to get hold of any of the Regular style when provided as a .ttf file.
On Windows it has been a TTC since v1.02 (first one I have).
Office 365 for Mac may provide the individual TTF file as a cloud font.

1 hour ago, thomaso said:

 

1263135315_CambriaofMicrosoftonmacOS.thumb.jpg.9cdf237131af2b672e5dbb9c726bab00.jpg

What version of Office for Mac is this? with the separate TTF files?

Any font version without composites should not have this issue.
So I would like to see the actual font you used to see if it has composites or not.

Posted (edited)
51 minutes ago, LibreTraining said:

Cambria is an OpenType-TT (.ttf/.ttc) font. There is no OpenType-PS (.otf) version.
(...)
What version of Office for Mac is this? with the separate TTF files?

Oh, I am still confusing this two OpenType versions, with the older TrueType in mind which is not OpenType. (how do you call those non-OpenType TrueType?)

My Cambria is from Office 2011, font file dates 04 June 2015, version 5.96 (5.97 for the Regular).
See PM… EDIT: I can't send it 203273026_PMlibreTraining.jpg.dff6dcf3e7cb34ec817c463a45ea167b.jpg

Edited by thomaso

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

Posted
1 hour ago, thomaso said:

Oh, I am still confusing this two OpenType versions, with the older TrueType in mind which is not OpenType. (how do you call those non-OpenType TrueType?)

Yes, I call those old original TrueType fonts (they are not OpenType with TrueType outlines).
The Cambria2 that v_kyr shows in the image above appears to be an actual old TrueType file.
Based on the icons: the O for OpenType-TT, and the TT for old TrueType.
But as far as I know, Cambria has only been released as OpenType with TrueType outlines.
So I am not sure where he got that font (and with the odd name).
Looks like somebody made it.
But I like to find old oddities, perhaps it was released with some app, or ... ?

1 hour ago, thomaso said:

My Cambria is from Office 2011, font file dates 04 June 2015, version 5.96 (5.97 for the Regular).
See PM… EDIT: I can't send it 203273026_PMlibreTraining.jpg.dff6dcf3e7cb34ec817c463a45ea167b.jpg

This is odd.
My InBox shows only 1% of storage used, and other people have sent me texts.
Perhaps try again with a link to a free upload site (like workupload.com which I have used here).
I do also have the v5.96 TTC file which came with Office Professional 2010 for Windows.
But I would definitely like to see what is in the TTF files which were delivered separately.
Thanks.

Posted (edited)
1 hour ago, LibreTraining said:

other people have sent me texts.

When I try to send you text (w/o attachment or link) I get the same error. Can you send me any? – Here's the Cambria.zip at workupload.

Edited by thomaso

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

Posted
18 minutes ago, thomaso said:

When I try to send you text (w/o attachment or link) I get the same error. Can you send me any? – Here's the ZIP at workupload.

OK. Got it. Thanks.

Posted

That separate Regular TTF also has the same composite characters.
So the difference between PC & Mac may what you said above, the PDFlib or something else.

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.