Jump to content

Recommended Posts

3 minutes ago, R C-R said:

In Affinity, "passthrough" is a layer blend mode that simply sets a group layer to have no special blend properties of its own.

 

That’s true, but since we’re talking about PDF passthrough I don’t think it’s relevant here.


Alfred online2long.gif
Affinity Designer/Photo/Publisher 1.7.2.471 • Windows 10 Home (4th gen Core i3 CPU)
Affinity Photo for iPad 1.7.2.153 • Designer for iPad 1.7.2.6 • iOS 12.4.1 (iPad Air 2)

Share this post


Link to post
Share on other sites
1 minute ago, Alfred said:

That’s true, but since we’re talking about PDF passthrough I don’t think it’s relevant here.

What I meant was "PDF passthrough" in Adobe products has nothing to do with layer blend modes so it is irrelevant here.


Affinity Photo 1.7.2, Affinity Designer 1.7.2, Affinity Publisher 1.7.2; macOS High Sierra 10.13.6 iMac (27-inch, Late 2012); 2.9GHz i5 CPU; NVIDIA GeForce GTX 660M; 8GB RAM
Affinity Photo 1.7.2.153 & Affinity Designer 1.7.2.6 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iOS 12.3.1

Share this post


Link to post
Share on other sites
7 minutes ago, R C-R said:

What I meant was "PDF passthrough" in Adobe products has nothing to do with layer blend modes so it is irrelevant here.

 

That’s what I meant, too!

 

Are you still confused? I am!!


Alfred online2long.gif
Affinity Designer/Photo/Publisher 1.7.2.471 • Windows 10 Home (4th gen Core i3 CPU)
Affinity Photo for iPad 1.7.2.153 • Designer for iPad 1.7.2.6 • iOS 12.4.1 (iPad Air 2)

Share this post


Link to post
Share on other sites
2 minutes ago, Alfred said:

Are you still confused?

Perpetually!


Affinity Photo 1.7.2, Affinity Designer 1.7.2, Affinity Publisher 1.7.2; macOS High Sierra 10.13.6 iMac (27-inch, Late 2012); 2.9GHz i5 CPU; NVIDIA GeForce GTX 660M; 8GB RAM
Affinity Photo 1.7.2.153 & Affinity Designer 1.7.2.6 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iOS 12.3.1

Share this post


Link to post
Share on other sites
22 hours ago, Fixx said:

 

Embedded fonts editing is great, but OP needed just to have PDF as passthrough. I would think it is readily available feature in PDF code libraries as it just does not have to do anything but display a PDF as it is.

In adobeland this is solved by having two apps: if you want to edit a PDF you open it with Illustrator, and if you want passthrough you drop it to InDy. 

Maybe passthrough will come with Publisher... *wish*

As others have said, in order to draw the PDF at all we have to interpret it and turn it into the primitives that we can draw. The additional step of making it editable doesn't really lose anything in fidelity. If we do add a "Place non-editable" option, it will have the same issues with embedded fonts etc. The PDF specification is huge and there will probably always be parts of it we can't decode. We have supported embedded fonts before, with PagePlus, and we will do so in Affinity at some point, but probably not for years. Given the workaround is just to install the fonts, and we have so much other stuff to do with Publisher etc, it is not at the top of our todo list. I'm sorry, but that's the situation.

Share this post


Link to post
Share on other sites
5 minutes ago, Dave Harris said:

We have supported embedded fonts before, with PagePlus, and we will do so in Affinity at some point, but probably not for years.

 

Given that you did it for PagePlus, Dave, you obviously know how to do it! This is in stark contrast to support for RTL languages, where you had to enlist the help of Winsoft International to create a Middle East edition of PPX5 supporting Arabic, Farsi, Hebrew, etc. So although it’s completely understandable that RTL support in the Affinity apps is years away, it’s very disappointing to read that the same applies to support for embedded fonts. The workaround of installing the fonts is fine if they’re free or low-cost, but I’m sure you’re aware that many commercial fonts are quite expensive and can only be shared for document revision via editable embedding.


Alfred online2long.gif
Affinity Designer/Photo/Publisher 1.7.2.471 • Windows 10 Home (4th gen Core i3 CPU)
Affinity Photo for iPad 1.7.2.153 • Designer for iPad 1.7.2.6 • iOS 12.4.1 (iPad Air 2)

Share this post


Link to post
Share on other sites

So the situation is that seemingly simple task of placing a PDF that all layout apps + Microsoft Word + Apple Pages (and Libre Office though badly) can do is not so simple after all.

Share this post


Link to post
Share on other sites
1 minute ago, Fixx said:

So the situation is that seemingly simple task of placing a PDF that all layout apps + Microsoft Word + Apple Pages (and Libre Office though badly) can do is not so simple after all.

 

If it were simple, there would be no reason for LibreOffice to do it badly. ;)

 


Alfred online2long.gif
Affinity Designer/Photo/Publisher 1.7.2.471 • Windows 10 Home (4th gen Core i3 CPU)
Affinity Photo for iPad 1.7.2.153 • Designer for iPad 1.7.2.6 • iOS 12.4.1 (iPad Air 2)

Share this post


Link to post
Share on other sites

And would it be difficult to take the glyph information from the font embedded in a PDF and render the glyph shapes as curves into the Affinity Document when the PDF is placed? When you don’t need to edit a placed PDF, this option would at least provide a workaround for the missing fonts problem … hmm … :/

Share this post


Link to post
Share on other sites
1 hour ago, Alfred said:

The workaround of installing the fonts is fine if they’re free or low-cost, but I’m sure you’re aware that many commercial fonts are quite expensive and can only be shared for document revision via editable embedding.

Let us not forget that the licenses for some commercial fonts prohibit "sharing" them via embedding them in documents or require anyone who wants to revise or edit such documents to have purchased their own license. Considering the current uncertain state of copyright laws around the world & such things as the U.S. DMCA, it may be that Serif now has to consider the legal implications of proving software that could be used to circumvent those licensing provisions. :(


Affinity Photo 1.7.2, Affinity Designer 1.7.2, Affinity Publisher 1.7.2; macOS High Sierra 10.13.6 iMac (27-inch, Late 2012); 2.9GHz i5 CPU; NVIDIA GeForce GTX 660M; 8GB RAM
Affinity Photo 1.7.2.153 & Affinity Designer 1.7.2.6 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iOS 12.3.1

Share this post


Link to post
Share on other sites
3 hours ago, R C-R said:

it may be that Serif now has to consider the legal implications of [providing] software that could be used to circumvent those licensing provisions

 

I don't think Serif has ever provided, and I don't imagine they would ever provide, software that could be used to circumvent licensing provisions. The PDF import feature in PagePlus and other 'Plus' software products only works with PDF files whose flags are set to allow content extraction for editing, and the 'Save as Package' feature excludes any fonts.whose embedding licensing rights are restricted.

 


Alfred online2long.gif
Affinity Designer/Photo/Publisher 1.7.2.471 • Windows 10 Home (4th gen Core i3 CPU)
Affinity Photo for iPad 1.7.2.153 • Designer for iPad 1.7.2.6 • iOS 12.4.1 (iPad Air 2)

Share this post


Link to post
Share on other sites

If someone doesn't have (or desire to obtain) pdfToolbox or Acrobat, one should be able to use GhostScript to convert a PDF's text to curves. One would download and install GS, make sure it is in the search path on the computer, write a little batch file to convert the text and rewrite the PDF. I would suggest using a folder on the desktop and put the batch file into it. Any PDFs found in that folder and the batch file ran would be converted.

 

I do this for a different purpose using GS. What commands are used and what form that batch file is, is OS dependent (I think).

Share this post


Link to post
Share on other sites
7 hours ago, A_B_C said:

And would it be difficult to take the glyph information from the font embedded in a PDF and render the glyph shapes as curves into the Affinity Document when the PDF is placed? When you don’t need to edit a placed PDF, this option would at least provide a workaround for the missing fonts problem … hmm … :/

That's the same problem. The glyph shapes need a lot of work to decode them.

Share this post


Link to post
Share on other sites

The OP requested to have the pdf converted before it enters either Photo or Designer?

And have the layers inside flattened to one image?
Like this

FILE_result.pdf

FILE_result.afphoto

FILE_result.afdesign


-------------------------------------------------------------------------------------------------------------------------------
Win10(1903)Home / Photo / Designer / Publisher & latest (beta) versions

Share this post


Link to post
Share on other sites

FileTest2.pdf will load but the font will be substituted(unless you would have the font installed)

FilTest2_result will load but all will be a single image/layer

 

Is this what the OP is after?

 

If so,make an conversion before it is imported/opened in Photo with XnViewMP

 

FileTest2.pdf

FileTest_result_1.pdf


-------------------------------------------------------------------------------------------------------------------------------
Win10(1903)Home / Photo / Designer / Publisher & latest (beta) versions

Share this post


Link to post
Share on other sites
2 hours ago, haakoo said:

FileTest2.pdf will load but the font will be substituted(unless you would have the font installed)

FilTest2_result will load but all will be a single image/layer

 

Is this what the OP is after?

 

If so,make an conversion before it is imported/opened in Photo with XnViewMP

 

FileTest2.pdf

FileTest_result_1.pdf

 

Your file:

FileTest_result_1.pdf

Is missing a little detail, isn't it? It's also a low-res image now.

Share this post


Link to post
Share on other sites

@ MikeW,

You're right but I oploaded the wrong result file ;)

So here you go

FileTest2 = normal .pdf with editable txt

FileTest2_result = flattened .pdf and likely downsampled image

FileTest2_result_2= flattened .pdf and have XnViewMP adjust dpi to 300

 

Hope the OP can live with this.

 

_Hans

@Mike,open them in Xara to see the difference;

Original image used in FileTest2 is 390 dpi

Result image becomes 96 dpi

Result_2 becomes 300 dpi

You can up the dpi in XnViewMP to whatever,but would it be wise as it would also increase the filesize

 

 

FileTest2.pdf

FileTest2_result.pdf

FileTest2_result_2.pdf


-------------------------------------------------------------------------------------------------------------------------------
Win10(1903)Home / Photo / Designer / Publisher & latest (beta) versions

Share this post


Link to post
Share on other sites

Yep, I know Xn can do it, haakoo...I have it installed. Nice to see you around here as well as at TG, btw. Oh, I also hadn't seen that font in use for a long time. I had to dig it out of my archive and add it to my managed fonts. No idea if/when I'll use it again!

 

If the goal is to flatten to an image, all PDF editors (and some PDF viewers) can do so as well.

 

If the OP or anyone wanting to do this and retain vectors as vectors (be they fonts or other elements) in a current Affinity product but eschew the "layers," created, they can convert the type itself to vector using GS, pdfToolbox or Acrobat (I have no idea about other PDF editors), open the converted file in say AD, group everything, then copy that and paste into the working document.

 

That is, until such time as AD/APhoto/APub can use pass-through.

Share this post


Link to post
Share on other sites

Yes, Mike 

The OP wanted an uneditable single layer. 

I thought that was the point. 

Otherwise he should ask for a pdf that's already flat to begin with.

i.o.w. have the provider of the pdf, make the fonts into shapes

As for the fontusage,thought to use an uncommon font to test.

 

_Hans


-------------------------------------------------------------------------------------------------------------------------------
Win10(1903)Home / Photo / Designer / Publisher & latest (beta) versions

Share this post


Link to post
Share on other sites
On 2/2/2018 at 2:18 PM, Alfred said:

 

it’s very disappointing to read that the same applies to support for embedded fonts. The workaround of installing the fonts is fine if they’re free or low-cost, but I’m sure you’re aware that many commercial fonts are quite expensive and can only be shared for document revision via editable embedding.

Yes it is disappointing 

 

And it is very painful when you work with Indic Language ANSI Fonts, because you can't just buy a single font but a total package (more than 100 fonts, IME software from each vendor) from different software vendor and this procedure is too much expensive. >:(:(

 

Share this post


Link to post
Share on other sites

If it's only for occasional/single pages you can do this:

But you need to check the result to ensure it's the same after copying-pasting the vectorized text.
Once done you can export as image or PDF.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×