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

Open PDF in Photo reports missing fonts; not so in PS


Recommended Posts

3 minutes ago, VectorCat said:

Affinity Photo will open PDFs, but often will throw errors about "missing fonts," whereas Photoshop will simply correctly open the PDF - fonts and all.

Do you have a Font Manager installed? It could be that it is automatically turning on fonts for PhotoShop but not doing that for Affinity Photo. Another possibility is that PhotoShop is silently substituting a font and not warning you about it.

Mac Pro (Late 2013) Mac OS 12.7.4 
Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

24 minutes ago, VectorCat said:

Affinity Photo will open PDFs, but often will throw errors about "missing fonts," whereas Photoshop will simply correctly open the PDF - fonts and all.

Could you share the PDF which demonstrates this issue?

It would be helpful to see what and how the fonts are embedded. 

Note: sometimes when PS opens a PDF it simply displays the glyphs - not editable text.

Link to comment
Share on other sites

I am sorry but I can not; proprietary information. I can tell you that the font it claimed was missing is loaded on my system: Open Sans. I use it all the time for this client's work.

Were it not for the sensitive nature of this client's information, I'd happily share it with you.

Link to comment
Share on other sites

6 minutes ago, VectorCat said:

I can tell you that the font it claimed was missing is loaded on my system: Open Sans. I use it all the time for this client's work.

Is it the exact same Open Sans on the machine that made the PDF and your machine with Affinity Photo and Adobe PhotoShop?

And again, do you have a font manager running? 

Mac Pro (Late 2013) Mac OS 12.7.4 
Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

My best guess is that the original machine making the PDF has a second version of Open Sans installed and was used inadvertently.

For what it is worth, never have I had a problem with using Font Book on my Mac(s) exclusively for a couple of decades.

Mac Pro (Late 2013) Mac OS 12.7.4 
Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

3 hours ago, VectorCat said:

I am sorry but I can not; proprietary information. I can tell you that the font it claimed was missing is loaded on my system: Open Sans.

Originally you said "missing fonts" (plural). Is it possible that the missing font message always refers to just one Open Sans typeface, or might it be different ones at different times and/or with different PDF's?

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

3 hours ago, VectorCat said:

I can tell you that the font it claimed was missing is loaded on my system: Open Sans. I use it all the time for this client's work.

What I am trying to see is how the font was embedded to see if we can determine the issue is caused by how it was embedded, or APhoto is missing the boat.

What application was used to create the PDF?
Some apps do not embed the font names in the best way.
And this makes it harder for other apps to match the fonts.

Some Adopy apps include hidden additional info into the PDF which helps them read the file properly when re-opened/imported into Adopy apps. With the PDF we can see if this hidden info is present. Cannot read it, but we can see that it is there.

Can you please post a screenshot of the embedded font list from your PDF reader?
That way we can at least see how the font names were embedded.

Note: there are some updated versions of Open Sans around which do not work properly on Windows (the name fields are bad), but should be OK on Mac. The original version and the version on Google Fonts are both OK.

Link to comment
Share on other sites

3 hours ago, VectorCat said:

Yes, it is the exact same Open Sans on the machine that made the PDF and on my machine with Affinity Photo and Adobe Photoshop.

If you can't share the PDF, it would at least help to see a screenshot of the message about the missing fonts. 

If you also own Publisher it would help to see what the Font Manager there says about that PDF. 

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

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

Here is a screenshot of the missing fonts warning I get opening that pdf in photo.

*I can use the tool to instruct photo to use Open Sans Bold as the "substitute" font, since I have the Open Sans family on my Mac. When I do that, there is no difference between what Affinity displays and the PDF itself, shown in a Preview.

photo font problems open pdf.jpg

Link to comment
Share on other sites

10 hours ago, VectorCat said:

Here is a screenshot of the missing fonts warning I get opening that pdf in photo.

Thanks. That explains the problem, I believe.

Note that the line shows the font name as "Open Sans,Bold". I believe that should be "Open Sans Bold", with a space not a comma. I think that indicates that the font that was used on the system that created the PDF has a "broken" font on it, with inconsistent or incorrect names specified internally in the font file.

(Someone who knows more about this than I will be along with more information, probably.)

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

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

17 hours ago, VectorCat said:

Were it not for the sensitive nature of this client's information, I'd happily share it with you.

Is it a problem to create a specific PDF with one word that is not sensitive for the client, but will cause the error?

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

So…here’s the part that gets me..I’ve been under the impression that PDF - portable document format - meant that the end user need have only a PDF reader in order to open, view and enjoy all of the wonders of the original document PDF’d.

Including fonts…that adobe had invented some technology that contained all the metrics of the fonts used in the document so that the PDF + Reader could properly draw them on the screen without the end user having the fonts used in the document’s creation on their device.

This seems not the case. So, PDF…portable, with conditions?

Edited by VectorCat
Link to comment
Share on other sites

19 minutes ago, VectorCat said:

So…here’s the part that gets me..I’ve been under the impression that PDF - portable document format - meant that the end user need have only a PDF reader in order to open, view and enjoy all of the wonders of the original document PDF’d.

Including fonts…that adobe had invented some technology that contained all the metrics of the fonts used in the document so that the PDF + Reader could properly draw them on the screen without the end user having the fonts used in the document’s creation on their device.

This seems not the case. So, PDF…portable, with conditions?

If you want to View the PDF, then you can use a PDF viewer or you can Place it into an Affinity document, and use Passthrough mode.

If you Open it (which allows Editing in Affinity applications) then (in Affinity applications) you must have the same fonts installed, because the Affinity applications do not use the embedded fonts when editing.

It appears to me that the computer on which the PDF was created has a font named Open Sans Bold, and you have one named Open Sans Bold, but they are not the same Open Sans Bold. If you were to install the same font files, I don't think you'd have that problem.

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

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

Ahh…that’s clear enough, yes. Thank you, Walt.

My workflow in this case is this: I open PDFs often, not to edit them, but to create PNG from them for purposes of placing them in newsletters or other types of documents - which are then PDFd for distribution. If I want to edit PDFs, I have Acrobat Pro or whatever it’s called - I haven’t used Publisher for that purpose because client is Adobe-based (yeah..I know..) and I don’t want to have any manner of hitches or 3-eyed lizard babies. I bring Affinity tools into the mix because I greatly prefer them over their adobe counterparts, and if the end goal is raster, it seems harmless enough.

Will have to re-visit on the Mac, but I’m pretty sure I’ve checked the option, words to the effect: favor fidelity over editability - consistent with the above-described use case.

Thank you greatly for all of this..good learning experience.

Link to comment
Share on other sites

1 hour ago, VectorCat said:

Will have to re-visit on the Mac, but I’m pretty sure I’ve checked the option, words to the effect: favor fidelity over editability - consistent with the above-described use case.

You cannot Open a PDF for your purpose. Doing that requires you to have the fonts available.

You must Place it into a document, and use Passthrough mode. 

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

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

12 hours ago, walt.farrell said:

Note that the line shows the font name as "Open Sans,Bold". I believe that should be "Open Sans Bold", with a space not a comma. I think that indicates that the font that was used on the system that created the PDF has a "broken" font on it, with inconsistent or incorrect names specified internally in the font file.

Ah, no.

It probably means the library writing the PDF was stupidly not using the PostScript Name in the font, but instead used the family name (with the spaces) and then added the style with a comma. The PDF specs have a recommended/required format for the PostScript Name (no spaces with the dash), and that it should be used when embedding fonts.

If the app had done it right it would have been embedded as -  OpenSans-Bold - which is the recommended format, and what is actually in the fonts. Then when the PDF is imported the embedded font names match the PostScript Name in the user's installed fonts.

BUT, for the fifth time now Affinity, the apps should know that 

Open Sans, Bold = OpenSans-Bold

when matching fonts. The Adopy apps know this and match the fonts properly.

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.