Jump to content
anthony.t

Odd Spaces in PDF Imported Text Boxes

Recommended Posts

I'm not sure if I'm importing incorrectly or if this is a bug. When opening layered PDFs created in GIS software, text boxes contain odd spaces that are not corrected with any text alignment setting. The red circles in the attached images illustrate the spaces in center and left aligned setting. Note the relation of the text to the text box boundary.

Left Aligned.jpg

Center Aligned.jpg

Share this post


Link to post
Share on other sites

Hi anthony.t,

It looks as though there is padding be added to the imported text frames. Would you be able to attach a copy of the PDF you are importing please so we can investigate?

Thanks

Share this post


Link to post
Share on other sites

Thanks for the PDF. This isn't a bug, but is just how Affinity is trying to best align the text so it matches the look of the PDF. Because of this it is applying First Line Indents on the text object which means the first line of a paragraph gets indented. This can be fixed by selecting the Paragraph (or the entire text) and go to the Paragraph Panel and set First Line Indent and Line Indent to 0pt. This will remove the gap and allow you to align the text without a problem.

Share this post


Link to post
Share on other sites
3 hours ago, Sean P said:

This can be fixed by selecting the Paragraph (or the entire text) and go to the Paragraph Panel and set First Line Indent and Line Indent to 0pt. This will remove the gap and allow you to align the text without a problem.

Or, I think, by choosing the option to favor editable text over fidelity when opening the file in Designer:
image.png.c493ff89f1d9e27b8aba05776c8ab0ef.png

Share this post


Link to post
Share on other sites
30 minutes ago, walt.farrell said:

Or, I think, by choosing the option to favor editable text over fidelity when opening the file in Designer:
image.png.c493ff89f1d9e27b8aba05776c8ab0ef.png

I did try that on the import, but wasn't getting any different behaviour.

Share this post


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

I did try that on the import, but wasn't getting any different behaviour.

With the supplied PDF, the option changed whether one of the paragraphs has indents specified (with favor fidelity) or whether it comes in as centered text (favor editability).

Share this post


Link to post
Share on other sites

Both solutions work on my end. I thought I tried the Favor Editable Text route previously but without resolve. It seems to be working now. Thanks Sean and Walt for saving me these extra steps on a very repetitive task!

Share this post


Link to post
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.


×
×
  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | 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.