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


-- Walt

Windows 10 Home, version 1909 (183623.476),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.7.3.481 and 1.8.0.532 Beta   / Affinity Designer 1.7.3.481 and 1.8.0.532 Beta  / Affinity Publisher 1.7.3.481 and 1.8.0.535 Beta

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


-- Walt

Windows 10 Home, version 1909 (183623.476),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.7.3.481 and 1.8.0.532 Beta   / Affinity Designer 1.7.3.481 and 1.8.0.532 Beta  / Affinity Publisher 1.7.3.481 and 1.8.0.535 Beta

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

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

×

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.