Replace Fonts ignores (/does not apply to) stroke color  SOLVED

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

zarkogajic
User
Posts: 1486
Joined: Thu Sep 05, 2019 12:35 pm

Replace Fonts ignores (/does not apply to) stroke color

Post by zarkogajic »

Hi Support,

I'm using Replace Fonts feature to replace text color (so, only color) ...

The Current/New Color is only applied to "fill" color and not also to "stroke" color.

Could you make it so that the new color is applied both to fill and stroke, OR add "Current Stroke Color" and "New Stroke Color" to font replace rules.

-žarko
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11098
Joined: Wed Jan 03, 2018 6:52 pm

Re: Replace Fonts ignores (/does not apply to) stroke color

Post by Daniel - PDF-XChange »

Hello, zarkogajic

Technically speaking, this is not part of the character data:
image.png
But part of the "page content" - "container" which holds the text string:
image(1).png
As such, this could have unintended side effects. For example, manually changing the stroke color, will break a single container item:
image(2).png
Into three parts:
image(3).png
The same could happen in bulk with the replace fonts process.

I will raise the idea for consideration, but I am unsure if it will be accepted.

Kind regards,
You do not have the required permissions to view the files attached to this post.
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
zarkogajic
User
Posts: 1486
Joined: Thu Sep 05, 2019 12:35 pm

Re: Replace Fonts ignores (/does not apply to) stroke color

Post by zarkogajic »

Hi Dan,

Thanks.

I was driven by the fact that you do allow to "Edit Text" and to change stroke color (even though not a part of character data):

image.png

Yes, this will "brake the container" - but your "Edit Text" still knows how to "group" containers.

-žarko
You do not have the required permissions to view the files attached to this post.
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11098
Joined: Wed Jan 03, 2018 6:52 pm

Re: Replace Fonts ignores (/does not apply to) stroke color

Post by Daniel - PDF-XChange »

Hello, zarkogajic

Indeed, that is how I did the same for my example. To my surprise, we now have a ticket on this item!

RT#7537: FR: replace fonts - Stroke color

Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
zarkogajic
User
Posts: 1486
Joined: Thu Sep 05, 2019 12:35 pm

Re: Replace Fonts ignores (/does not apply to) stroke color  SOLVED

Post by zarkogajic »

Thanks Dan

-žarko
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11098
Joined: Wed Jan 03, 2018 6:52 pm

Replace Fonts ignores (/does not apply to) stroke color

Post by Daniel - PDF-XChange »

:)
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com