Wrong bold text

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

Moderators: Tracker Support, TrackerSupp-Daniel, Sean - Tracker, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
Timur Born
User
Posts: 831
Joined: Tue Jun 26, 2012 1:50 pm

Wrong bold text

Post by Timur Born »

Hello.

1. In one of my documents Editor displays the Type 1 font "SabonLTStd-Roman" in bold. The same font in another document is properly displays as standard.

Image

2. Furthermore, when I enable "Colored Search Results" in the advanced search pane then all preview text becomes bold. This happens in any document, so it is likely not related to the 1. issue.

Image
User avatar
Paul - Tracker Supp
Site Admin
Posts: 5864
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Wrong bold text

Post by Paul - Tracker Supp »

Hi Timur,

can you send a sample for item one?

I can't reproduce item 2 even with your file. You are on 9.3.361.0?

I am not seeing this on the attached PDF. Do you?

cheers
PDFXLicense.pdf
(38.89 KiB) Downloaded 4 times
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Timur Born
User
Posts: 831
Joined: Tue Jun 26, 2012 1:50 pm

Re: Wrong bold text

Post by Timur Born »

Hi Paul,

no. 2 does not happen on your attached PDF, so my assumption is that the use of Type1 fonts in my PDFs causes the bold search font issue.

I will send you an example PDF via e-mail.
Timur Born
User
Posts: 831
Joined: Tue Jun 26, 2012 1:50 pm

Re: Wrong bold text

Post by Timur Born »

While extraction a single page to create an example document for you I found the culprit for the bold search font: bookmarks! If I do not extract bookmarks then search doesn't go bold, if I export even only the bookmark for the single extracted page then search gets bold. And if I create a new bookmark for *your* example document then it happens, too.
User avatar
Paul - Tracker Supp
Site Admin
Posts: 5864
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Wrong bold text

Post by Paul - Tracker Supp »

hmmm

I still can't reproduce this. I must be doing something wrong.

If the behaviour is dependent on the presence of bookmarks maybe you can produce for us two similar PDFs, one showing the effect and one that does not? At least that would cut to the chase on the "reproduce this" part?

Does that seem reasonable?
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Timur Born
User
Posts: 831
Joined: Tue Jun 26, 2012 1:50 pm

Re: Wrong bold text

Post by Timur Born »

Here is your example PDF with added bookmark:

Image
PDFXLicense_Bookmark_bold_search.pdf
(39.1 KiB) Downloaded 7 times
Timur Born
User
Posts: 831
Joined: Tue Jun 26, 2012 1:50 pm

Re: Wrong bold text

Post by Timur Born »

Turns out that proximity has to be set to anything other than simple adjacent words the bolt search results to happen. And of course you need to enable "Colored Search Results".
Last edited by Timur Born on Fri May 06, 2022 11:15 pm, edited 1 time in total.
Timur Born
User
Posts: 831
Joined: Tue Jun 26, 2012 1:50 pm

Re: Wrong bold text

Post by Timur Born »

I also sent you an example (extracted page) PDF for the bold Type1 font problem, that wasn't bolt in earlier Editor versions (as far as I remember) and isn't bolt in another PDF file.

Editor build 361.
User avatar
Paul - Tracker Supp
Site Admin
Posts: 5864
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Wrong bold text

Post by Paul - Tracker Supp »

It's still not happening for me. Would you humour me and test resetting your settings to defaults and see if that changes the behaviour?

Please export your settings to file first so that you can both restore them yourself and if necessary send to us.

When did you send the PDF for item one? We've had some staff off sick and I can't find it. May I ask you to send it again?

sorry.
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
User avatar
Paul - Tracker Supp
Site Admin
Posts: 5864
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Wrong bold text

Post by Paul - Tracker Supp »

I'm dummy.

I have reproduced #2 now, I was looking at the document not the search results. Doh!

I'll show the devs and see what they say. Thanks for sticking with me through this! ;-)

Now for the document for #1 - sorry again to have misplaced that.
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Timur Born
User
Posts: 831
Joined: Tue Jun 26, 2012 1:50 pm

Re: Wrong bold text

Post by Timur Born »

My fault for posting two bold font related issues that likely are not related in a single thread. No wonder things got confused.

I sent an e-mail to support@tracker-software.com just 1 hour ago. Titled "Wrong bold text" with a link to this very thread and an appended PDF called "Bolt Font Example". I now sent it again.
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 15291
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Wrong bold text

Post by Tracker Supp-Stefan »

Hello Timur Born,

Thanks! We've got your file and I am sure Paul will be back to you shortly with further details!

Kind regards,
Stefan
Timur Born
User
Posts: 831
Joined: Tue Jun 26, 2012 1:50 pm

Re: Wrong bold text

Post by Timur Born »

The problem is especially visible in the thumbnails of the corresponding pages. They are drawn very black due to all the extra bolt fonts.
User avatar
Paul - Tracker Supp
Site Admin
Posts: 5864
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Wrong bold text

Post by Paul - Tracker Supp »

Thanks Timur,

I see what you mean. It's obvious in both the main window and thumbs:
image.png
I'm just waiting back from the devs. Sorry for the delay here.
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Timur Born
User
Posts: 831
Joined: Tue Jun 26, 2012 1:50 pm

Re: Wrong bold text

Post by Timur Born »

No hurry.
User avatar
Paul - Tracker Supp
Site Admin
Posts: 5864
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Wrong bold text

Post by Paul - Tracker Supp »

The text in this document has a 1px border, but it looks like Adobe is cheating a bit, and we will have to do similarly.

RT#6072: PDF renders in bold in the Editor but not in Adobe

:)
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Timur Born
User
Posts: 831
Joined: Tue Jun 26, 2012 1:50 pm

Re: Wrong bold text

Post by Timur Born »

The 1 pt border does *not* seem to be the problem. For comparison, here is the first printing file of the same book, also using a 1 pt border:
Image Image

Compared to the second printing file:
Image

But I just noticed that Editor prints each character of the second printing twice on top of each other, once with 1 pt border and once without border. As a consequence you need to press cursor right twice when you try to navigate the text via cursor keys. This does not happen with Adobe or the first printing of the file.

First character:
Image

Second character:
Image

Both selected the same T in the document. I navigated between the two stacked versions via cursor keys:
Image
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3501
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: Wrong bold text

Post by Ivan - Tracker Software »

Every (or almost every) piece of text in this document is duplicated.
The first time it is rendered with just a border of width 0 and a second time with a fill.
image.png
image1.png
Width 0 by PDF specification means that the border should be rendered 1 pixel wide no matter of zoom level. That's what the Editor did and that causes that 'bolding' effect on the text. In the next build, we will render this border with some additional transparency to make it less visible. It is not by the spec but looks like other apps went this way.
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
Timur Born
User
Posts: 831
Joined: Tue Jun 26, 2012 1:50 pm

Re: Wrong bold text

Post by Timur Born »

Thanks for the analysis. I will report this back to the creator of the PDF as I suspect this to be unintentional (1st edition file doesn't have this).

Both Acrobat Reader and Foxit do print these pages more bold than their 1st edition version, just not as overwhelming bold as Editor does.

The other difference is how the "Select Text" tool handles the duplicate text. Where Acrobat and Foxit use one cursor step per character, Editor uses two.
User avatar
Paul - Tracker Supp
Site Admin
Posts: 5864
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Wrong bold text

Post by Paul - Tracker Supp »

:)
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Post Reply